Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
org::w3c::dom::DOMException Class Reference#include <DOMException.h>
Inheritance diagram for org::w3c::dom::DOMException:
List of all members.
Detailed Description
DOM operations only raise exceptions in exceptional circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).
In general, DOM methods return specific error values in ordinary processing situations, such as out-of-bound errors when using NodeList .
Implementations should raise other exceptions under other circumstances. For example, implementations should raise an implementation-dependent exception if a null argument is passed when null was not expected.
Some languages and object systems do not support the concept of exceptions. For such systems, error conditions may be indicated using native error reporting mechanisms. For some bindings, for example, methods may return error codes similar to those listed in the corresponding method descriptions.
See also the Document acdk::lang::Object Model (DOM) Level 3 Core Specification.
- Author:
- Roger Rene Kommer
- Version:
- Revision
- 1.14
DOMException
- Date:
- Date
- 2005/02/05 10:45:37
Constructor & Destructor Documentation
org::w3c::dom::DOMException::DOMException |
( |
short |
code, |
|
|
IN(RString) |
s |
|
) |
[inline] |
|
Member Function Documentation
short org::w3c::dom::DOMException::getCode |
( |
|
) |
[inline] |
|
Member Data Documentation
|