#include <DOMException.hpp>
Inheritance diagram for xercesc::DOMException:
Public Types | |
Public Contants | |
enum | ExceptionCode { 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, VALIDATION_ERR = 16, TYPE_MISMATCH_ERR = 17 } |
ExceptionCode. More... | |
Public Member Functions | |
const XMLCh * | getMessage () const |
Constructors | |
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. | |
Destructor. | |
virtual | ~DOMException () |
Destructor for DOMException. | |
Public Attributes | |
Public variables | |
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 | |
MemoryManager * | fMemoryManager |
|
ExceptionCode.
The above are since DOM Level 1
The above are since DOM Level 2
The above is since DOM Level 3
Reimplemented in xercesc::DOMXPathException. |
|
Default constructor for DOMException.
|
|
Constructor which takes an error code and an optional message code.
|
|
Copy constructor.
|
|
Destructor for DOMException.
|
|
|
|
A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.
|
|
|
|
A string value. Applications may use this field to hold an error message. The field value is not set by the DOM implementation, meaning that the string will be empty when an exception is first thrown. |