OPALX (Object Oriented Parallel Accelerator Library for Exascal)
master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
DivideError.h
Go to the documentation of this file.
1
#ifndef OPAL_DivideError_HH
2
#define OPAL_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
public
:
35
// Arguments:
36
// [DL]
37
// [DT][b]meth[/b]
38
// [DD]the name of the method or function detecting the exception
39
// [/DL]
40
explicit
DivideError
(
const
std::string& meth);
41
42
DivideError
(
const
DivideError
&);
43
virtual
~DivideError
();
44
45
private
:
46
// Not implemented.
47
DivideError
();
48
};
49
50
#endif
// OPAL_DivideError_HH
ArithmeticError.h
ArithmeticError
The abstract base class for all OPALX arithmetic exceptions.
Definition
ArithmeticError.h:33
DivideError
Zero divide error.
Definition
DivideError.h:32
DivideError::DivideError
DivideError()
DivideError::~DivideError
virtual ~DivideError()
Definition
DivideError.cpp:30
src
Utilities
DivideError.h
Generated on Mon Jun 1 2026 10:40:53 for OPALX (Object Oriented Parallel Accelerator Library for Exascal) by
1.9.8