ClanLib
2.3.7
|
Top-level exception class. More...
#include <exception.h>
Public Member Functions | |
Construction | |
CL_Exception (const CL_String &message) | |
Constructs an exception object. More... | |
virtual | ~CL_Exception () throw () |
Destructs an exception object. More... | |
Operations | |
std::vector< CL_String > | get_stack_trace () const |
Returns the call stack present when the exception object was created. More... | |
CL_String | get_message_and_stack_trace () const |
Returns the message and call stack present when the exception object was created, formatted using newlines. More... | |
Attributes | |
CL_String | message |
Description of exception. More... | |
virtual const char * | what () const throw () |
Returns description of exception. More... | |
Top-level exception class.
CL_Exception::CL_Exception | ( | const CL_String & | message) |
Constructs an exception object.
|
inlinevirtual |
Destructs an exception object.
CL_String CL_Exception::get_message_and_stack_trace | ( | ) | const |
Returns the message and call stack present when the exception object was created, formatted using newlines.
On Linux, to obtain function names, remember to link with the -rdynamic flag
std::vector<CL_String> CL_Exception::get_stack_trace | ( | ) | const |
Returns the call stack present when the exception object was created.
On Linux, to obtain function names, remember to link with the -rdynamic flag
|
virtual |
Returns description of exception.
CL_String CL_Exception::message |
Description of exception.