OPALX (Object Oriented Parallel Accelerator Library for Exascal)
MINIorX
OPALX
OverflowError.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: OverflowError.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: OverflowError
10
// Overflow in mathematical function.
11
//
12
// ------------------------------------------------------------------------
13
// Class category: Utilities
14
// ------------------------------------------------------------------------
15
//
16
// $Date: 2000/03/27 09:32:38 $
17
// $Author: fci $
18
//
19
// ------------------------------------------------------------------------
20
21
#include "
Utilities/OverflowError.h
"
22
23
24
// Class OverflowError
25
// ------------------------------------------------------------------------
26
27
28
OverflowError::OverflowError
(
const
std::string &meth):
29
ArithmeticError
(meth,
"Overflow error."
)
30
{}
31
32
33
OverflowError::OverflowError
(
const
OverflowError
&rhs):
34
ArithmeticError
(rhs)
35
{}
36
37
38
OverflowError::~OverflowError
()
39
{}
OverflowError.h
ArithmeticError::ArithmeticError
ArithmeticError(const std::string &meth, const std::string &msg)
The usual constructor.
Definition
ArithmeticError.cpp:29
OverflowError::OverflowError
OverflowError(const std::string &meth)
The usual constructor.
Definition
OverflowError.cpp:28
OverflowError::~OverflowError
virtual ~OverflowError()
Definition
OverflowError.cpp:38
OverflowError::OverflowError
OverflowError()