[1] This page summaries subtypes of exceptions
thrown by manakai. Note that subtypes
are returned by the subtype
attribute of an exception as a string.
DOMException
interfaceINDEX_SIZE_ERR
INDEX_OUT_OF_BOUND_ERR
MAY be raised if the specified index
is out of bounds.HIERARCHY_REQUEST_ERR
ANCESTOR_NODE_ERR
MAY be raised if an attempt is made
to insert an ancestor node or the node itself.CHILD_NODE_TYPE_ERR
MAY be raised if an attempt is made
to insert a node where its node type is not
desired.INUSE_DEFINITION_ERR
MAY be raised if the definition node
is already attached to other node.WRONG_DOCUMENT_ERR
EXTERNAL_OBJECT_ERR
MAY be raised if the specified object
does not belong to the same Document
node.INUSE_DOCTYPE_ERR
MAY be raised if the specified
DocumentType
node is in use
within another Document
node.INVALID_CHARACTER_ERR
MALFORMED_EVENT_TYPE_ERR
MAY be raised when the event type is not
an XML Namespaces 1.1 NCName
.MALFORMED_NAME_ERR
MAY be raised when a string that is not an
XML name is specified.NO_MODIFICATION_ALLOWED_ERR
READ_ONLY_NODE_ERR
MAY be thrown when an attempt is made to modify
a read-only Node
.READ_ONLY_NODE_LIST_ERR
MAY be thrown when an attempt is made to modify
a read-only NodeList
.NOT_FOUND_ERR
NOT_CHILD_ERR
MAY be raised if the specified node
is not a child of the node.NOT_SUPPORTED_ERR
ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR
MAY be raised when an attempt is made to
adopt a Node
whose node type
the adoption operation is not defined.CLONE_NODE_TYPE_NOT_SUPPORTED_ERR
MAY be thrown when an attempt is made to
clone a Node
whose node type
the cloning operation is not defined.EVENT_INTERFACE_NOT_SUPPORTED_ERR
MAY be raised when the specified event interface
is not supported by the implementation.EXTERNAL_EVENT_ERR
MAY be thrown when the Event
object has not been created using the
createEvent
method.NON_HTML_OPERATION_ERR
MAY be thrown when an attempt is made to modify
XML-only thing in an HTML document.UNKNOWN_XML_VERSION_ERR
MAY be thrown when an an attempt is made to
set xmlVersion
attribute to
a value that is not supported.INUSE_ATTRIBUTE_ERR
SYNTAX_ERR
INVALID_SELECTORS_ERR
MAY be raised if a string that is not a
valid group of selectors is specified.NAMESPACE_ERR
MALFORMED_QNAME_ERR
MAY be raised if a string that is not
an XML qualified name is specified.NONXMLNSPREFIX_XMLNSNS_ERR
MAY be raised if the namespace
prefix is different from xmlns
and the namespace URI is
http://www.w3.org/2000/xmlns/
.PREFIXED_NULLNS_ERR
MAY be raised if the namespace
prefix is not null
and
the namespace URI is null
.QNAME_NULLNS_ERR
MAY be raised if a qualified name
is not specified but a non-null
namespace URI is specified.UNDECLARED_PREFIX_ERR
MAY be raised if an undeclared prefix
is specified.XMLNS_NONXMLNSNS_ERR
MAY be raised if the qualified name
is xmlns
and the namespace
URI is different from
http://www.w3.org/2000/xmlns/
.XMLPREFIX_NONXMLNS_ERR
MAY be raised if the namespace prefix
is xml
and the namespace
URI is different from
http://www.w3.org/XML/1998/namespace
.XMLNSPREFIX_NONXMLNSNS_ERR
MAY be raised if the namespace prefix
is xmlns
and the namespace
URI is different from
http://www.w3.org/2000/xmlns/
.