NAME

Mozilla::DOM::DOMException

XXX: this class isn't supported yet here, as I've ignored catching any exceptions that are raised (though they are all noted in comments). Will soon.

Mozilla::DOM::DOMException is a wrapper around an instance of Mozilla's nsIDOMDOMException interface. This class inherits from Supports.

* In general, DOM methods return specific error values in ordinary
* processing situations, such as out-of-bound errors.
* However, DOM operations can 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)
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/

The following constants are available. You can export them all with use Mozilla::DOM::DOMException qw(:errcodes) or export them individually.

INDEX_SIZE_ERR
DOMSTRING_SIZE_ERR
HIERARCHY_REQUEST_ERR
WRONG_DOCUMENT_ERR
INVALID_CHARACTER_ERR
NO_DATA_ALLOWED_ERR
NO_MODIFICATION_ALLOWED_ERR
NOT_FOUND_ERR
NOT_SUPPORTED_ERR
INUSE_ATTRIBUTE_ERR
INVALID_STATE_ERR
SYNTAX_ERR
INVALID_MODIFICATION_ERR
NAMESPACE_ERR
INVALID_ACCESS_ERR

CLASS METHODS

$iid = Mozilla::DOM::DOMException->GetIID()

Pass this to QueryInterface.

METHODS

Some methods defined for Mozilla::DOM::DOMException::nsIDOMDOMException are not available in the particular library versions against which this module was compiled.

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.