OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
OverflowError.h
Go to the documentation of this file.
1#ifndef OPAL_OverflowError_HH
2#define OPAL_OverflowError_HH
3
4// ------------------------------------------------------------------------
5// $RCSfile: OverflowError.h,v $
6// ------------------------------------------------------------------------
7// $Revision: 1.1.1.1 $
8// ------------------------------------------------------------------------
9// Copyright: see Copyright.readme
10// ------------------------------------------------------------------------
11//
12// Class: OverflowError
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 OverflowError
28// ------------------------------------------------------------------------
30// This exception is thrown, when a function detects an arithmetic overflow.
31
33public:
35 // Arguments:
36 // [DL]
37 // [DT][b]meth[/b]
38 // [DD]the name of the method or function detecting the exception
39 // [/DL]
40 // Construction/destruction.
41 OverflowError(const std::string& meth);
42
44 virtual ~OverflowError();
45
46private:
47 // Not implemented.
49};
50
51#endif // OPAL_OverflowError_HH
The abstract base class for all OPALX arithmetic exceptions.
Overflow exception.
virtual ~OverflowError()