class DOMException

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:

acdk::lang::Exception acdk::lang::Throwable acdk::lang::Object acdk::io::Serializable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch 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.

Roger Rene Kommer
2005/02/05 10:45:37

Public Member Functions

 DOMException (short code, IN(RString) s)
short getCode ()
See also:
enumeration ErrorCodes

Private Attributes

short _code

Constructor & Destructor Documentation

org::w3c::dom::DOMException::DOMException short  code,
IN(RString s

Member Function Documentation

short org::w3c::dom::DOMException::getCode  )  [inline]

See also:
enumeration ErrorCodes

Member Data Documentation

short org::w3c::dom::DOMException::_code [private]