OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
ArithmeticError.h
Go to the documentation of this file.
1#ifndef OPAL_ArithmeticError_HH
2#define OPAL_ArithmeticError_HH
3
4// ------------------------------------------------------------------------
5// $RCSfile: ArithmeticError.h,v $
6// ------------------------------------------------------------------------
7// $Revision: 1.1.1.1 $
8// ------------------------------------------------------------------------
9// Copyright: see Copyright.readme
10// ------------------------------------------------------------------------
11//
12// Class: ArithmeticError
13//
14// ------------------------------------------------------------------------
15// Class category: Utilities
16// ------------------------------------------------------------------------
17//
18// $Date: 2000/03/27 09:32:37 $
19// $Author: fci $
20//
21// ------------------------------------------------------------------------
22
24
25#include <string>
26
27// Class ArithmeticError
28// ------------------------------------------------------------------------
30// An object derived from this class is thrown when an arithmetic error
31// occurs.
32
34protected:
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 ArithmeticError(const std::string& meth, const std::string& msg);
44
46 virtual ~ArithmeticError();
47
48private:
49 // Not implemented.
51};
52
53#endif // OPAL_ArithmeticError_HH
The abstract base class for all OPALX arithmetic exceptions.
virtual ~ArithmeticError()