#include <GeneralException.H>
Inheritance diagram for GeneralException:
Public Member Functions | |
GeneralException (const int code, const string &msg, const string &low_level_msg="") | |
Constructor. | |
int | get_code () const |
Returns the Exception Code. | |
string | get_msg () const |
Returns the Exception Message. | |
string | get_low_level_msg () const |
Return Low Level Error Message. | |
Protected Attributes | |
int | _code |
Exception Code. | |
string | _msg |
Exception Message. | |
string | _low_level_msg |
Low Level Message. |
GeneralException::GeneralException | ( | const int | code, | |
const string & | msg, | |||
const string & | low_level_msg = "" | |||
) | [inline] |
Constructor.
code | Exception Code | |
msg | Exception Message | |
low_level_msg | Optional message returned by inner libraries |
int GeneralException::get_code | ( | ) | const [inline] |
Returns the Exception Code.
string GeneralException::get_low_level_msg | ( | ) | const [inline] |
Return Low Level Error Message.
string GeneralException::get_msg | ( | ) | const [inline] |
Returns the Exception Message.