|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
Zero divide error. More...
#include <DivideError.h>
Public Member Functions | |
| DivideError (const std::string &meth) | |
| The usual constructor. | |
| DivideError (const DivideError &) | |
| virtual | ~DivideError () |
| 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 Attributes | |
| const std::string | message |
| const std::string | method |
Private Member Functions | |
| DivideError () | |
Zero divide error.
Definition at line 32 of file DivideError.h.
|
explicit |
The usual constructor.
Definition at line 28 of file DivideError.cpp.
References ArithmeticError::ArithmeticError(), and ClassicException::method.
Referenced by DivideError().
| DivideError::DivideError | ( | const DivideError & | rhs | ) |
Definition at line 33 of file DivideError.cpp.
References ArithmeticError::ArithmeticError(), and DivideError().
|
virtual |
Definition at line 38 of file DivideError.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().