#include <DOMRangeException.hpp>
Inheritance diagram for DOMRangeException:
Public Types | |
BAD_BOUNDARYPOINTS_ERR = 1 | |
INVALID_NODE_TYPE_ERR = 2 | |
Public Contants | |
enum | RangeExceptionCode { BAD_BOUNDARYPOINTS_ERR = 1, INVALID_NODE_TYPE_ERR = 2 } |
Public Member Functions | |
Constructors | |
DOMRangeException () | |
DOMRangeException (RangeExceptionCode code, const XMLCh *message) | |
DOMRangeException (const DOMRangeException &other) | |
Destructor. | |
virtual | ~DOMRangeException () |
Public Attributes | |
Public variables | |
RangeExceptionCode | code |
DOMRangeException
as specified in their method descriptions. See also the Document Object Model (DOM) Level 2 Traversal and Range Specification.
Definition at line 74 of file DOMRangeException.hpp.
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.
Definition at line 94 of file DOMRangeException.hpp.
DOMRangeException::DOMRangeException | ( | ) |
Default constructor for DOMRangeException.
DOMRangeException::DOMRangeException | ( | RangeExceptionCode | code, | |
const XMLCh * | message | |||
) |
Constructor which takes an error code and a message.
code | The error code which indicates the exception | |
message | The string containing the error message |
DOMRangeException::DOMRangeException | ( | const DOMRangeException & | other | ) |
Copy constructor.
other | The object to be copied. |
virtual DOMRangeException::~DOMRangeException | ( | ) | [virtual] |
Destructor for DOMRangeException.
A code value, from the set defined by the RangeExceptionCode enum, indicating the type of error that occured.
Reimplemented from DOMException.
Definition at line 152 of file DOMRangeException.hpp.