Public Member Functions | Public Attributes

CL_XPathException Class Reference

#include <xpath_exception.h>

Inheritance diagram for CL_XPathException:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CL_XPathException (const CL_String &message)
 CL_XPathException (const CL_String &message, const CL_StringRef &expression)
 CL_XPathException (const CL_String &message, const CL_StringRef &expression, const CL_XPathToken &cur_token)
 ~CL_XPathException () throw ()
CL_String get_message () const
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.

Public Attributes

CL_String::size_type error_position
CL_String expression

Attributes



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

Constructor & Destructor Documentation

CL_XPathException::CL_XPathException ( const CL_String message  )  [inline]
CL_XPathException::CL_XPathException ( const CL_String message,
const CL_StringRef expression 
)
CL_XPathException::CL_XPathException ( const CL_String message,
const CL_StringRef expression,
const CL_XPathToken &  cur_token 
)
CL_XPathException::~CL_XPathException (  )  throw () [inline]

Member Function Documentation

CL_String CL_XPathException::get_message (  )  const
CL_String CL_Exception::get_message_and_stack_trace (  )  const [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 (  )  const [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

Description of exception.


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