Range operations may throw a DOMRangeException
as specified in their method descriptions.
More...
#include <DOMRangeException.hpp>
Public Types | |
Public Contants | |
enum | RangeExceptionCode { BAD_BOUNDARYPOINTS_ERR = 111, INVALID_NODE_TYPE_ERR = 112 } |
Enumerators for DOM Range Exceptions. More... | |
Public Member Functions | |
Constructors | |
DOMRangeException () | |
Default constructor for DOMRangeException. | |
DOMRangeException (short code, short messageCode, MemoryManager *const memoryManager) | |
Constructor which takes an error code and a message. | |
DOMRangeException (const DOMRangeException &other) | |
Copy constructor. | |
Destructor. | |
virtual | ~DOMRangeException () |
Destructor for DOMRangeException. |
Range operations may throw a DOMRangeException
as specified in their method descriptions.
See also the Document Object Model (DOM) Level 2 Traversal and Range Specification.
Enumerators for DOM Range Exceptions.
BAD_BOUNDARYPOINTS_ERR:
If the boundary-points of a Range do not meet specific requirements.
INVALID_NODE_TYPE_ERR:
If the container of an boundary-point of a Range is being set to either a node of an invalid type or a node with an ancestor of an invalid type.
xercesc::DOMRangeException::DOMRangeException | ( | ) |
Default constructor for DOMRangeException.
xercesc::DOMRangeException::DOMRangeException | ( | short | code, | |
short | messageCode, | |||
MemoryManager *const | memoryManager | |||
) |
Constructor which takes an error code and a message.
code | The error code which indicates the exception | |
messageCode | The string containing the error message | |
memoryManager | The memory manager used to (de)allocate memory |
xercesc::DOMRangeException::DOMRangeException | ( | const DOMRangeException & | other | ) |
Copy constructor.
other | The object to be copied. |
xercesc::DOMRangeException::~DOMRangeException | ( | ) | [virtual] |
Destructor for DOMRangeException.