CL_Exception Class Reference
[clanCore System]

Top-level exception class. More...

#include <exception.h>

Inheritance diagram for CL_Exception:
Inheritance graph
[legend]

List of all members.

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_Stringget_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.

Detailed Description

Top-level exception class.


Constructor & Destructor Documentation

CL_Exception::CL_Exception ( const CL_String message  ) 

Constructs an exception object.

virtual CL_Exception::~CL_Exception (  )  throw () [inline, virtual]

Destructs an exception object.


Member Function Documentation

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.


Member Data Documentation

Description of exception.


The documentation for this class was generated from the following file: