|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
DOM_RangeException Class ReferenceEncapsulate range related DOM error or warning.
More...
#include <DOM_RangeException.hpp>
Inheritance diagram for DOM_RangeException
[legend]Collaboration diagram for DOM_RangeException:
[legend]List of all members.
Detailed Description
Encapsulate range related DOM error or warning.
DOM level 2 implementation.
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.
Member Enumeration Documentation
enum DOM_RangeException::RangeExceptionCode
|
|
|
-
Enumeration values:
-
BAD_BOUNDARYPOINTS_ERR
|
|
INVALID_NODE_TYPE_ERR
|
|
|
Constructor & Destructor Documentation
DOM_RangeException::DOM_RangeException (
|
)
|
|
|
Default constructor for DOM_RangeException.
|
|
Constructor which takes an error code and a message.
-
Parameters:
-
code
|
The error code which indicates the exception |
message
|
The string containing the error message |
|
DOM_RangeException::DOM_RangeException (
|
const DOM_RangeException & other )
|
|
|
Copy constructor.
-
Parameters:
-
other
|
The object to be copied. |
|
DOM_RangeException::~DOM_RangeException (
|
) [virtual]
|
|
|
Destructor for DOM_RangeException.
Applications are responsible for deleting DOM_RangeException objects that they catch after they have completed their exception processing. |
Member Data Documentation
|
A code value, from the set defined by the RangeExceptionCode enum, indicating the type of error that occured.
Reimplemented from DOM_DOMException. |
The documentation for this class was generated from the following file:
|