#include <Exception.h>
Inheritance diagram for DREAM::Exception:
Public Member Functions | |
Exception (const std::string &exception) | |
Constructor. | |
virtual | ~Exception () |
Destructor. | |
virtual void | handler () const |
Handler. | |
Protected Attributes | |
std::string | exception_ |
The exception message. |
Definition at line 60 of file Exception.h.
DREAM::Exception::Exception | ( | const std::string & | exception | ) |
Constructor.
exception | specifies the exception message. |
Definition at line 56 of file Exception.cpp.
DREAM::Exception::~Exception | ( | ) | [virtual] |
void DREAM::Exception::handler | ( | ) | const [virtual] |
Handler.
Outputs exception message.
Reimplemented in DREAM::BaseClassException, and DREAM::XMLException.
Definition at line 65 of file Exception.cpp.
References exception_.
Referenced by main().
std::string DREAM::Exception::exception_ [protected] |
The exception message.
Definition at line 77 of file Exception.h.
Referenced by DREAM::XMLException::handler(), DREAM::BaseClassException::handler(), and handler().