SourceForge.net Logo
xercesc::DOMXPathException Class Reference

#include <DOMXPathException.hpp>

Inheritance diagram for xercesc::DOMXPathException:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ExceptionCode { INVALID_EXPRESSION_ERR = 51, TYPE_ERR = 52, NO_RESULT_ERROR = 53 }
 ExceptionCode
INVALID_EXPRESSION_ERR The expression has a syntax error or otherwise is not a legal expression according to the rules of the specific DOMXPathEvaluator or contains specialized extension functions or variables not supported by this implementation. More...
- Public Types inherited from xercesc::DOMException

Public Member Functions

Constructors
 DOMXPathException ()
 Default constructor for DOMXPathException.
 DOMXPathException (short code, short messageCode=0, MemoryManager *const memoryManager=XMLPlatformUtils::fgMemoryManager)
 Constructor which takes an error code and a message.
 DOMXPathException (const DOMXPathException &other)
 Copy constructor.
Destructor.
virtual ~DOMXPathException ()
 Destructor for DOMXPathException.
- Public Member Functions inherited from xercesc::DOMException
const XMLCh * getMessage () const
 DOMException ()
 Default constructor for DOMException.
 DOMException (short code, short messageCode=0, MemoryManager *const memoryManager=XMLPlatformUtils::fgMemoryManager)
 Constructor which takes an error code and an optional message code.
 DOMException (const DOMException &other)
 Copy constructor.
virtual ~DOMException ()
 Destructor for DOMException.

Additional Inherited Members

- Public Attributes inherited from xercesc::DOMException
short code
 A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.
const XMLCh * msg
 A string value.
- Protected Attributes inherited from xercesc::DOMException
MemoryManagerfMemoryManager

Detailed Description

Since:
DOM Level 3

Member Enumeration Documentation

ExceptionCode
INVALID_EXPRESSION_ERR The expression has a syntax error or otherwise is not a legal expression according to the rules of the specific DOMXPathEvaluator or contains specialized extension functions or variables not supported by this implementation.


TYPE_ERR The expression cannot be converted to return the specified type.
NO_RESULT_ERROR There is no current result in the result object.

Enumerator:
INVALID_EXPRESSION_ERR 
TYPE_ERR 
NO_RESULT_ERROR 

Reimplemented from xercesc::DOMException.


Constructor & Destructor Documentation

xercesc::DOMXPathException::DOMXPathException ( )

Default constructor for DOMXPathException.

xercesc::DOMXPathException::DOMXPathException ( short  code,
short  messageCode = 0,
MemoryManager *const  memoryManager = XMLPlatformUtils::fgMemoryManager 
)

Constructor which takes an error code and a message.

Parameters:
codeThe error code which indicates the exception
messageCodeThe string containing the error message
memoryManagerThe memory manager used to (de)allocate memory
xercesc::DOMXPathException::DOMXPathException ( const DOMXPathException other)

Copy constructor.

Parameters:
otherThe object to be copied.
virtual xercesc::DOMXPathException::~DOMXPathException ( )
virtual

Destructor for DOMXPathException.


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