Simple Application Framework
1
|
Generic exception class. More...
#include <Exception.h>
Public Member Functions | |
Exception (const SourceLocation &loc, const Text::String &msg) | |
Constructor. | |
~Exception () | |
Destructor. | |
const Text::String & | Function () const |
Get the function in which the exception was thrown. | |
Size | LineNumber () const |
Get the line number on which the exception was thrown. | |
const Text::String & | Message () const |
Get the exception error message. |
Generic exception class.
Saf::Exception::Exception | ( | const SourceLocation & | loc, |
const Text::String & | msg | ||
) | [inline] |
Constructor.
[in] | loc | Exception source descriptor. |
[in] | msg | String describing the exception and its cause. |
Saf::Exception::~Exception | ( | ) | [inline] |
Destructor.
const Text::String& Saf::Exception::Function | ( | ) | const [inline] |
Get the function in which the exception was thrown.
Size Saf::Exception::LineNumber | ( | ) | const [inline] |
Get the line number on which the exception was thrown.
const Text::String& Saf::Exception::Message | ( | ) | const [inline] |
Get the exception error message.