#include <Exception.h>
Public Member Functions | |
Exception () | |
Creates an exception. | |
Exception (string message) | |
Creates an exception. | |
void | setMessage (string message) |
Sets the error message for the exception. | |
string | getMessage () |
Gets the error message for the exception. | |
Private Attributes | |
string | message |
This can be extended to deal with special types of errors.
Definition at line 25 of file Exception.h.
Exception::Exception | ( | ) |
Exception::Exception | ( | string | message | ) |
Creates an exception.
message | A message describing what went wrong. |
Definition at line 19 of file Exception.cpp.
References setMessage().
void Exception::setMessage | ( | string | message | ) |
Sets the error message for the exception.
Definition at line 24 of file Exception.cpp.
Referenced by Exception(), and XMLParseException::XMLParseException().
string Exception::getMessage | ( | ) |
Gets the error message for the exception.
Definition at line 29 of file Exception.cpp.
References message.
Referenced by QMCJastrowParameters::getPoles().
string Exception::message [private] |