IIOInvalidTreeExceptionpublic class IIOInvalidTreeException extends IIOException An 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. |
Fields Summary |
---|
protected Node | offendingNodeThe Node that led to the parsing error, or
null . |
Constructors Summary |
---|
public IIOInvalidTreeException(String message, Node offendingNode)Constructs an IIOInvalidTreeException with a
message string and a reference to the Node that
caused the parsing error.
super(message);
this.offendingNode = offendingNode;
| public 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.
super(message, cause);
this.offendingNode = offendingNode;
|
Methods Summary |
---|
public org.w3c.dom.Node | getOffendingNode()Returns the Node that caused the error in parsing.
return offendingNode;
|
|