iTP Active Transaction Pages (iTP ATP) Programmer's Guide

XML for ATP Add-On Module
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
5-72
Exception and Error Information
ATP_ERR_DOM_FILE_IO(5): Indicates an I/O failure, which may be caused by an
invalid file path or access permission.
The following list shows the possible error detail values for the error code property
(ATP_ERR_DOM_EXCEPTION) of the ATPException object:
INDEX_SIZE_ERR(1): Raised if the specified offset is negative or greater than the
number of characters in data, or if the specified count is negative.
DOMSTRING_SIZE_ERR(2): Raised when it would return more characters than fit
in a string variable on the implementation platform. This error-detail code indicates
that the value that would be returned is too large to be contained by a string type in
the given implementation.
HIERARCHY_REQUEST_ERR(3): Raised if this node is of a type that does not
allow children of the type of the newChild node, or if the node to append is one of
this node’s ancestors.
WRONG_DOCUMENT_ERR(4): Raised if newChild was created from a
different document than the one that created this node.
INVALID_CHARACTER_ERR(5): Raised if the specified qualified name contains
an invalid character.
NO_DATA_ALLOWED_ERR(6): Reserved for future use.
NO_MODIFICATION_ALLOWED_ERR(7): This error-detail code indicates that
the nodeValue attribute is read-only for this DOM object type.
NOT_FOUND_ERR(8): Raised if refChild is not a child of this node.
NOT_SUPPORTED_ERR(9): Raised if this document is an HTML document.
INUSE_ATTRIBUTE_ERR(10): Raised if arg is an Attr that is already an
attribute of another Element object. The DOM user must explicitly clone Attr
nodes to re-use them in other elements.
INVALID_STATE_ERR(11): Reserved for future use.
SYNTAX_ERR(12): Reserved for future use.
INVALID_MODIFICATION_ERR(13): Reserved for future use.
NAMESPACE_ERR(14): The name is malformed if:
°
The name has a prefix and the namespaceURI is null or an empty string
°
The name has a prefix that is “xml” and the namespaceURI is different from
“http://www.w3.org/XML/1998/namespace”
°
The name has a prefix that is “xmlns” and the namespaceURI is different from
“http://www.w3.org/2000/xmlns/”
°
The name is “xmlns” and the namespaceURI is different from
“http://www.w3.org/2000/xmlns/”
INVALID_ACCESS_ERR(15): Reserved for future use.