An IIOInvalidTreeException is thrown when an attempt by an IIOMetadata object to parse a tree of IIOMetadataNodes fails. The node that led to the parsing error may be stored. As with any parsing error, the actual error may occur at a different point that that where it is detected. The node returned by getOffendingNode should merely be considered as a clue to the actual nature of the problem.
An IIOInvalidTreeException is thrown when an attempt by an IIOMetadata object to parse a tree of IIOMetadataNodes fails. The node that led to the parsing error may be stored. As with any parsing error, the actual error may occur at a different point that that where it is detected. The node returned by getOffendingNode should merely be considered as a clue to the actual nature of the problem.
(->iio-invalid-tree-exception message offending-node)
(->iio-invalid-tree-exception message cause offending-node)
Constructor.
Constructs an IIOInvalidTreeException with a message string, a reference to an exception that caused this exception, and a reference to the Node that caused the parsing error.
message - a String containing the reason for the parsing failure. - java.lang.String
cause - the Throwable (Error or Exception) that caused this exception to occur, or null. - java.lang.Throwable
offending-node - the DOM Node that caused the exception, or null. - org.w3c.dom.Node
Constructor. Constructs an IIOInvalidTreeException with a message string, a reference to an exception that caused this exception, and a reference to the Node that caused the parsing error. message - a String containing the reason for the parsing failure. - `java.lang.String` cause - the Throwable (Error or Exception) that caused this exception to occur, or null. - `java.lang.Throwable` offending-node - the DOM Node that caused the exception, or null. - `org.w3c.dom.Node`
(get-offending-node this)
Returns the Node that caused the error in parsing.
returns: the offending Node. - org.w3c.dom.Node
Returns the Node that caused the error in parsing. returns: the offending Node. - `org.w3c.dom.Node`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close