OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Utilities
OverflowError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_OverflowError_HH
2
#define CLASSIC_OverflowError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: OverflowError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: OverflowError
13
//
14
// ------------------------------------------------------------------------
15
// Class category: Utilities
16
// ------------------------------------------------------------------------
17
//
18
// $Date: 2000/03/27 09:32:38 $
19
// $Author: fci $
20
//
21
// ------------------------------------------------------------------------
22
23
#include "
Utilities/ArithmeticError.h
"
24
25
#include <string>
26
27
// Class OverflowError
28
// ------------------------------------------------------------------------
30
// This exception is thrown, when a function detects an arithmetic overflow.
31
32
class
OverflowError
:
public
ArithmeticError
{
33
34
public
:
35
37
// Arguments:
38
// [DL]
39
// [DT][b]meth[/b]
40
// [DD]the name of the method or function detecting the exception
41
// [/DL]
42
// Construction/destruction.
43
OverflowError
(
const
std::string &meth);
44
45
OverflowError
(
const
OverflowError
&);
46
virtual
~OverflowError
();
47
48
private
:
49
50
// Not implemented.
51
OverflowError
();
52
};
53
54
#endif // CLASSIC_OverflowError_HH
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
OverflowError
Overflow exception.
Definition:
OverflowError.h:32
ArithmeticError.h
OverflowError::OverflowError
OverflowError()
OverflowError::~OverflowError
virtual ~OverflowError()
Definition:
OverflowError.cpp:38
Generated on Tue Jul 2 2024 15:05:23 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5