CL_DomException Class Reference
[clanCore XML]

DOM Exception class. More...

#include <dom_exception.h>

Inheritance diagram for CL_DomException:

CL_Exception List of all members.

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

Attributes

virtual const char * what () const throw ()
 Returns description of exception.
CL_String message
 Description of exception.

Public Member Functions

Construction
 CL_DomException (unsigned short code)
 Constructs a DomException.
 CL_DomException (const CL_StringRef &message, unsigned short code)
Operations
std::vector< CL_Stringget_stack_trace ()
 Returns the call stack present when the exception object was created.
CL_String get_message_and_stack_trace ()
 Returns the message and call stack present when the exception object was created, formatted using newlines.

Detailed Description

DOM Exception class.


Member Enumeration Documentation

enum CL_DomException::ExceptionCodes
 

Enumerator:
INDEX_SIZE_ERR 
DOMSTRING_SIZE_ERR 
HIERARCHY_REQUEST_ERR 
WRONG_DOCUMENT_ERR 
INVALID_CHARACTER_ERR 
NO_DATA_ALLOWED_ERR 
NO_MODIFICATION_ALLOWED_ERR 
NOT_FOUND_ERR 
NOT_SUPPORTED_ERR 
INUSE_ATTRIBUTE_ERR 
INVALID_STATE_ERR 
SYNTAX_ERR 
INVALID_MODIFICATION_ERR 
NAMESPACE_ERR 
INVALID_ACCESS_ERR 


Constructor & Destructor Documentation

CL_DomException::CL_DomException unsigned short  code  ) 
 

Constructs a DomException.

Parameters:
code = short

CL_DomException::CL_DomException const CL_StringRef message,
unsigned short  code
 


Member Function Documentation

CL_String CL_Exception::get_message_and_stack_trace  )  [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

std::vector<CL_String> CL_Exception::get_stack_trace  )  [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

virtual const char* CL_Exception::what  )  const throw () [virtual, inherited]
 

Returns description of exception.


Member Data Documentation

unsigned short CL_DomException::code
 

CL_String CL_Exception::message [inherited]
 

Description of exception.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:36 2009 for ClanLib by  doxygen 1.4.6