Serializable
public class IIOInvalidTreeException extends IIOException
IIOInvalidTreeException
is thrown when an attempt
by an IIOMetadata
object to parse a tree of
IIOMetadataNode
s 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.Modifier and Type | Field | Description |
---|---|---|
protected Node |
offendingNode |
The
Node that led to the parsing error, or
null . |
Constructor | Description |
---|---|
IIOInvalidTreeException(String message,
Throwable cause,
Node offendingNode) |
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. |
IIOInvalidTreeException(String message,
Node offendingNode) |
Constructs an
IIOInvalidTreeException with a
message string and a reference to the Node that
caused the parsing error. |
Modifier and Type | Method | Description |
---|---|---|
Node |
getOffendingNode() |
Returns the
Node that caused the error in parsing. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Node offendingNode
Node
that led to the parsing error, or
null
.public IIOInvalidTreeException(String message, Node offendingNode)
IIOInvalidTreeException
with a
message string and a reference to the Node
that
caused the parsing error.message
- a String
containing the reason for
the parsing failure.offendingNode
- the DOM Node
that caused the
exception, or null
.public IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
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.cause
- the Throwable
(Error
or
Exception
) that caused this exception to occur,
or null
.offendingNode
- the DOM Node
that caused the
exception, or null
.public Node getOffendingNode()
Node
that caused the error in parsing.Node
. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps