OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
src
src
Classic
Utilities
DomainError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_DomainError_HH
2
#define CLASSIC_DomainError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: DomainError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: DomainError
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 DomainError
28
// ------------------------------------------------------------------------
30
// This exception is thrown, when a domain error is detected in a function.
31
32
class
DomainError
:
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
DomainError
(
const
std::string &meth);
43
44
DomainError
(
const
DomainError
&);
45
virtual
~DomainError
();
46
47
private
:
48
49
// Not implemented.
50
DomainError
();
51
};
52
53
#endif
// CLASSIC_DomainError_HH
ArithmeticError.h
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
DomainError
Domain error exception.
Definition:
DomainError.h:32
DomainError::~DomainError
virtual ~DomainError()
Definition:
DomainError.cpp:38
DomainError::DomainError
DomainError()
Generated on Thu Oct 20 2022 17:40:11 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3