Top-level exception class. More...
#include <exception.h>

Public Member Functions | |
Construction | |
| CL_Exception (const CL_String &message) | |
| Constructs an exception object. | |
| virtual | ~CL_Exception () throw () |
| Destructs an exception object. | |
Operations | |
| std::vector< CL_String > | get_stack_trace () const |
| Returns the call stack present when the exception object was created. | |
| CL_String | get_message_and_stack_trace () const |
| Returns the message and call stack present when the exception object was created, formatted using newlines. | |
Attributes | |
|
| |
| CL_String | message |
| Description of exception. | |
| virtual const char * | what () const throw () |
| Returns description of exception. | |
Top-level exception class.
| CL_Exception::CL_Exception | ( | const CL_String & | message | ) |
Constructs an exception object.
| virtual CL_Exception::~CL_Exception | ( | ) | throw () [inline, virtual] |
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 const char* CL_Exception::what | ( | ) | const throw () [virtual] |
Returns description of exception.
Description of exception.
1.7.1