OPAL (Object Oriented Parallel Accelerator Library)
2024.2
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
33
DivideError::DivideError
(
const
DivideError
&rhs):
34
ArithmeticError
(rhs)
35
{}
36
37
38
DivideError::~DivideError
()
39
{}
DivideError.h
ArithmeticError::ArithmeticError
ArithmeticError(const std::string &meth, const std::string &msg)
The usual constructor.
Definition
ArithmeticError.cpp:29
ClassicException::method
const std::string method
Definition
ClassicException.h:61
DivideError::DivideError
DivideError(const std::string &meth)
The usual constructor.
Definition
DivideError.cpp:28
DivideError::DivideError
DivideError()
DivideError::~DivideError
virtual ~DivideError()
Definition
DivideError.cpp:38