OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
DivideError.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: DivideError.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Class: DivideError
10 // Divide by zero error.
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/DivideError.h"
22 
23 
24 // Class DivideError
25 // ------------------------------------------------------------------------
26 
27 
28 DivideError::DivideError(const std::string &method):
29  ArithmeticError(method, "Divide error.")
30 {}
31 
32 
34  ArithmeticError(rhs)
35 {}
36 
37 
39 {}
The abstract base class for all CLASSIC arithmetic exceptions.
virtual ~DivideError()
Definition: DivideError.cpp:38
Zero divide error.
Definition: DivideError.h:32