Class DOMIT_DOMException
A class representing the DOM DOMException class. This is a static class

isPublic? no
isAbstract? no

Inheritance tree:

DOMIT_DOMException (top level class)

Known subclasses:

None

Source file: xml_domit_shared.php




Constructor



Public Constants
DOMIT_INDEX_SIZE_ERR
If index or size is negative, or greater than the allowed value.

Type: String

Value: 1

DOMIT_DOMSTRING_SIZE_ERR
If the specified range of text does not fit into a DOMString.

Type: String

Value: 2

DOMIT_HIERARCHY_REQUEST_ERR
If any node is inserted somewhere it doesn't belong.

Type: String

Value: 3

DOMIT_WRONG_DOCUMENT_ERR
If a node is used in a different document than the one that created it (that doesn't support it).

Type: String

Value: 4

DOMIT_INVALID_CHARACTER_ERR
If an invalid character is specified, such as in a name.

Type: String

Value: 5

DOMIT_NO_DATA_ALLOWED_ERR
If data is specified for a node which does not support data.

Type: String

Value: 6

DOMIT_NO_MODIFICATION_ALLOWED_ERR
If an attempt is made to modify an object where modifications are not allowed.

Type: String

Value: 7

DOMIT_NOT_FOUND_ERR
If an attempt was made to reference a node in a context where it does not exist.

Type: String

Value: 8

DOMIT_NOT_SUPPORTED_ERR
If the implementation does not support the type of object requested.

Type: String

Value: 9

DOMIT_INUSE_ATTRIBUTE_ERR
If an attempt is made to add an attribute that is already in use elsewhere.

Type: String

Value: 10

DOMIT_INVALID_STATE_ERR
If an attempt is made to use an object that is not, or is no longer, usable.

Type: String

Value: 11

DOMIT_SYNTAX_ERR
If an invalid or illegal string is specified.

Type: String

Value: 12

DOMIT_INVALID_MODIFICATION_ERR
If an attempt is made to modify the type of the underlying object.

Type: String

Value: 13

DOMIT_NAMESPACE_ERR
If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

Type: String

Value: 14

DOMIT_INVALID_ACCESS_ERR
If a parameter or an operation is not supported by the underlying object.

Type: String

Value: 15

DOMIT_ABSTRACT_CLASS_INSTANTIATION_ERR
If a method is called on an abstract class.

Type: String

Value: 100

DOMIT_ABSTRACT_METHOD_INVOCATION_ERR
If an abstract method is called.

Type: String

Value: 101

DOMIT_DOCUMENT_FRAGMENT_ERR
If an attempt is made to append a document fragment with an incompatible structure to a dom documentElement.

Type: String

Value: 102




Private Constants



Public Fields



Private Fields



Public Methods



Private Methods
raiseException
Raises an exception with the specified error constant and description.

Signature: raiseException($errorNum, $errorString)

Parameters:

int errorNum - A DOMIT/DOM error number.

String errorString - A text description of the DOMIT/DOM error.


Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.