ClanLib
2.3.7
|
DOM Exception class. More...
#include <dom_exception.h>
Public Member Functions | |
Construction | |
CL_DomException (unsigned short code) | |
Constructs a DomException. More... | |
CL_DomException (const CL_StringRef &message, unsigned short code) | |
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... | |
Attributes | |
enum | ExceptionCodes { INDEX_SIZE_ERR = 1, DOMSTRING_SIZE_ERR = 2, HIERARCHY_REQUEST_ERR = 3, WRONG_DOCUMENT_ERR = 4, INVALID_CHARACTER_ERR = 5, NO_DATA_ALLOWED_ERR = 6, NO_MODIFICATION_ALLOWED_ERR = 7, NOT_FOUND_ERR = 8, NOT_SUPPORTED_ERR = 9, INUSE_ATTRIBUTE_ERR = 10, INVALID_STATE_ERR = 11, SYNTAX_ERR = 12, INVALID_MODIFICATION_ERR = 13, NAMESPACE_ERR = 14, INVALID_ACCESS_ERR = 15 } |
unsigned short | code |
DOM Exception class.
CL_DomException::CL_DomException | ( | unsigned short | code) |
Constructs a DomException.
code | = short |
CL_DomException::CL_DomException | ( | const CL_StringRef & | message, |
unsigned short | code | ||
) |
|
inherited |
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
|
inherited |
Returns the call stack present when the exception object was created.
On Linux, to obtain function names, remember to link with the -rdynamic flag
|
virtualinherited |
Returns description of exception.
unsigned short CL_DomException::code |
|
inherited |
Description of exception.