OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
DomainError.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: DomainError.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Class: DomainError
10 // Argument(s) of mathematical function outside valid domain.
11 //
12 // ------------------------------------------------------------------------
13 // Class category: Utilities
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:32:37 $
17 // $Author: fci $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "Utilities/DomainError.h"
22 
23 
24 // Class DomainError
25 // ------------------------------------------------------------------------
26 
27 
28 DomainError::DomainError(const std::string &meth):
29  ArithmeticError(meth, "Domain error.")
30 {}
31 
32 
34  ArithmeticError(rhs)
35 {}
36 
37 
39 {}
The abstract base class for all CLASSIC arithmetic exceptions.
Domain error exception.
Definition: DomainError.h:32
virtual ~DomainError()
Definition: DomainError.cpp:38