OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
src
src
Classic
Utilities
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
33
DivideError::DivideError
(
const
DivideError
&rhs):
34
ArithmeticError
(rhs)
35
{}
36
37
38
DivideError::~DivideError
()
39
{}
DivideError.h
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
DivideError
Zero divide error.
Definition:
DivideError.h:32
DivideError::DivideError
DivideError()
DivideError::~DivideError
virtual ~DivideError()
Definition:
DivideError.cpp:38
Generated on Thu Oct 20 2022 17:40:11 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3