Inheritance diagram for DOM_RangeException:
Public Types | |
Enumerators for DOM Range Exceptions | |
enum | RangeExceptionCode { BAD_BOUNDARYPOINTS_ERR = 1, INVALID_NODE_TYPE_ERR = 2 } |
Public Methods | |
Constructors and assignment operator | |
DOM_RangeException () | |
DOM_RangeException (RangeExceptionCode code, const DOMString &message) | |
DOM_RangeException (const DOM_RangeException &other) | |
Destructor. | |
virtual | ~DOM_RangeException () |
Public Attributes | |
Public variables. | |
RangeExceptionCode | code |
The DOM will create and throw an instance of DOM_RangeException when an error condition in range is detected. Exceptions can occur when an application directly manipulates the range elements in DOM document tree that is produced by the parser.
Unlike the other classes in the C++ DOM API, DOM_RangeException is NOT a reference to an underlying implementation class, and does not provide automatic memory management. Code that catches a DOM Range exception is responsible for deleting it, or otherwise arranging for its disposal.
|
Default constructor for DOM_RangeException. |
|
Constructor which takes an error code and a message.
|
|
Copy constructor.
|
|
Destructor for DOM_RangeException. Applications are responsible for deleting DOM_RangeException objects that they catch after they have completed their exception processing. |
|
A code value, from the set defined by the RangeExceptionCode enum, indicating the type of error that occured. Reimplemented from DOM_DOMException. |