|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
The abstract base class for all CLASSIC arithmetic exceptions. More...
#include <ArithmeticError.h>
Public Member Functions | |
| virtual const std::string & | what () const |
| Return the message string for the exception. | |
| virtual const std::string & | where () const |
| Return the name of the method or function which detected the exception. | |
Protected Member Functions | |
| ArithmeticError (const std::string &meth, const std::string &msg) | |
| The usual constructor. | |
| ArithmeticError (const ArithmeticError &) | |
| virtual | ~ArithmeticError () |
Protected Attributes | |
| const std::string | message |
| const std::string | method |
Private Member Functions | |
| ArithmeticError () | |
The abstract base class for all CLASSIC arithmetic exceptions.
Definition at line 33 of file ArithmeticError.h.
|
protected |
The usual constructor.
Definition at line 28 of file ArithmeticError.cpp.
References ClassicException::ClassicException().
Referenced by ArithmeticError(), CLRangeError::CLRangeError(), CLRangeError::CLRangeError(), ConvergenceError::ConvergenceError(), ConvergenceError::ConvergenceError(), DivideError::DivideError(), DivideError::DivideError(), DomainError::DomainError(), DomainError::DomainError(), OverflowError::OverflowError(), and OverflowError::OverflowError().
|
protected |
Definition at line 34 of file ArithmeticError.cpp.
References ArithmeticError(), and ClassicException::ClassicException().
|
protectedvirtual |
Definition at line 39 of file ArithmeticError.cpp.
|
private |
|
virtualinherited |
Return the message string for the exception.
Reimplemented in EarlyLeaveException, and OpalException.
Definition at line 42 of file ClassicException.cpp.
References message.
Referenced by OpalParser::readStatement(), and OpalParser::run().
|
virtualinherited |
Return the name of the method or function which detected the exception.
Reimplemented in EarlyLeaveException, and OpalException.
Definition at line 47 of file ClassicException.cpp.
References method.
Referenced by OpalParser::run().
|
protectedinherited |
Definition at line 60 of file ClassicException.h.
Referenced by ClassicException(), what(), and EarlyLeaveException::what().
|
protectedinherited |
Definition at line 61 of file ClassicException.h.
Referenced by ClassicException(), DivideError::DivideError(), EarlyLeaveException::what(), and where().