#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 } |
ExceptionCode. More... | |
Public Member Functions | |
const XMLCh * | getMessage () const |
Constructors | |
DOMException () | |
Default constructor for DOMException. | |
DOMException (short code, const XMLCh *message, MemoryManager *const memoryManager=XMLPlatformUtils::fgMemoryManager) | |
Constructor which takes an error code and a message. | |
DOMException (const DOMException &other) | |
Copy constructor. | |
Destructor. | |
virtual | ~DOMException () |
Destructor for DOMException. | |
Public Attributes | |
Public variables | |
ExceptionCode | 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 |
|
|
Default constructor for DOMException.
|
|
Constructor which takes an error code and a message.
|
|
Copy constructor.
|
|
Destructor for DOMException.
|
|
|
|
A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.
Reimplemented in xercesc::DOMRangeException. |
|
|
|
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. |