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
24
25#include <string>
26
27// Class DivideError
28// ------------------------------------------------------------------------
30// This exception is thrown, when a division by zero occurs.
31
33public:
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
43 virtual ~DivideError();
44
45private:
46 // Not implemented.
48};
49
50#endif // OPAL_DivideError_HH
The abstract base class for all OPALX arithmetic exceptions.
Zero divide error.
Definition DivideError.h:32
virtual ~DivideError()