OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
CLRangeError.h
Go to the documentation of this file.
1#ifndef OPAL_CLRangeError_HH
2#define OPAL_CLRangeError_HH
3
4// ------------------------------------------------------------------------
5// $RCSfile: CLRangeError.h,v $
6// ------------------------------------------------------------------------
7// $Revision: 1.1.1.1 $
8// ------------------------------------------------------------------------
9// Copyright: see Copyright.readme
10// ------------------------------------------------------------------------
11//
12// Class: CLRangeError
13//
14// ------------------------------------------------------------------------
15// Class category: Utilities
16// ------------------------------------------------------------------------
17//
18// $Date: 2000/03/27 09:32:38 $
19// $Author: fci $
20//
21// ------------------------------------------------------------------------
22
24
25#include <string>
26
27// Class CLRangeError
28// ------------------------------------------------------------------------
30// This exception is thrown when an OPALX routine or method detects an
31// index out of range.
32
34public:
36 // Arguments:
37 // [DL]
38 // [DT][b]meth[/b]
39 // [DD]the name of the method or function detecting the exception
40 // [DT][b]msg [/b]
41 // [DD]the message string identifying the exception
42 // [/DL]
43 // Construction/destruction.
44 CLRangeError(const std::string& meth, const std::string& msg);
45
47 virtual ~CLRangeError();
48
49private:
50 // Not implemented.
52};
53
54#endif // OPAL_CLRangeError_HH
The abstract base class for all OPALX arithmetic exceptions.
Range error.
virtual ~CLRangeError()