OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Utilities
DivideError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_DivideError_HH
2
#define CLASSIC_DivideError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: DivideError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: DivideError
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/ArithmeticError.h
"
24
25
#include <string>
26
27
// Class DivideError
28
// ------------------------------------------------------------------------
30
// This exception is thrown, when a division by zero occurs.
31
32
class
DivideError
:
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
explicit
DivideError
(
const
std::string &meth);
43
44
DivideError
(
const
DivideError
&);
45
virtual
~DivideError
();
46
47
private
:
48
49
// Not implemented.
50
DivideError
();
51
};
52
53
#endif // CLASSIC_DivideError_HH
DivideError::DivideError
DivideError()
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
DivideError::~DivideError
virtual ~DivideError()
Definition:
DivideError.cpp:38
DivideError
Zero divide error.
Definition:
DivideError.h:32
ArithmeticError.h
Generated on Sat Jan 4 2020 14:47:59 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5