OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
Classic
Utilities
ArithmeticError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_ArithmeticError_HH
2
#define CLASSIC_ArithmeticError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: ArithmeticError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: ArithmeticError
13
//
14
// ------------------------------------------------------------------------
15
// Class category: Utilities
16
// ------------------------------------------------------------------------
17
//
18
// $Date: 2000/03/27 09:32:37 $
19
// $Author: fci $
20
//
21
// ------------------------------------------------------------------------
22
23
#include "
Utilities/ClassicException.h
"
24
25
#include <string>
26
27
// Class ArithmeticError
28
// ------------------------------------------------------------------------
30
// An object derived from this class is thrown when an arithmetic error
31
// occurs.
32
33
class
ArithmeticError
:
public
ClassicException
{
34
35
protected
:
36
38
// Arguments:
39
// [DL]
40
// [DT][b]meth[/b]
41
// [DD]the name of the method or function detecting the exception
42
// [DT][b]msg [/b]
43
// [DD]the message string identifying the exception
44
// [/DL]
45
ArithmeticError
(
const
std::string &meth,
const
std::string &msg);
46
47
ArithmeticError
(
const
ArithmeticError
&);
48
virtual
~ArithmeticError
();
49
50
private
:
51
52
// Not implemented.
53
ArithmeticError
();
54
};
55
56
#endif
// CLASSIC_ArithmeticError_HH
ClassicException.h
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
ArithmeticError::ArithmeticError
ArithmeticError()
ArithmeticError::~ArithmeticError
virtual ~ArithmeticError()
Definition:
ArithmeticError.cpp:39
ClassicException
The abstract base class for all exceptions in CLASSIC.
Definition:
ClassicException.h:29
Generated on Wed Aug 25 2021 16:41:03 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1