OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
CLRangeError.h
Go to the documentation of this file.
1#ifndef CLASSIC_CLRangeError_HH
2#define CLASSIC_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 a CLASSIC routine or method detects an
31// index out of range.
32
34
35public:
36
38 // Arguments:
39 // [DL]
40 // [DT][b]meth[/b]
41 // [DD]the name of the method or function detecting the exception
42 // [DT][b]msg [/b]
43 // [DD]the message string identifying the exception
44 // [/DL]
45 // Construction/destruction.
46 CLRangeError(const std::string &meth, const std::string &msg);
47
49 virtual ~CLRangeError();
50
51private:
52
53 // Not implemented.
55};
56
57#endif // CLASSIC_CLRangeError_HH
The abstract base class for all CLASSIC arithmetic exceptions.
Range error.
Definition: CLRangeError.h:33
virtual ~CLRangeError()