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.
IIOMetadata#setFromTree
, IIOMetadata#mergeTree
, IIOMetadataNode
Modifier and Type | Field and Description |
---|---|
protected Node | offendingNode
The |
private static final long | serialVersionUID
Use serialVersionUID from JDK 9 for interoperability.
|
Access | Constructor and Description |
---|---|
public | IIOInvalidTreeException(String
a message, Node String containing the reason for
the parsing failure.the DOM offendingNode)Node that caused the
exception, or null .Constructs an |
public | IIOInvalidTreeException(String
a message, Throwable String containing the reason for
the parsing failure.the cause, Node Throwable (Error or
Exception ) that caused this exception to occur,
or null .the DOM offendingNode)Node that caused the
exception, or null .Constructs an |
Modifier and Type | Method and Description |
---|---|
public Node |
offendingNode | back to summary |
---|---|
protected Node offendingNode The
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 9 for interoperability. |
IIOInvalidTreeException | back to summary |
---|---|
public IIOInvalidTreeException(String message, Node offendingNode) Constructs an |
IIOInvalidTreeException | back to summary |
---|---|
public IIOInvalidTreeException(String message, Throwable cause, Node offendingNode) Constructs an |
getOffendingNode | back to summary |
---|---|
public Node getOffendingNode() Returns the
|