| javax.imageio.IIOException javax.imageio.metadata.IIOInvalidTreeException
IIOInvalidTreeException | public class IIOInvalidTreeException extends IIOException (Code) | | 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.
See Also: IIOMetadata.setFromTree See Also: IIOMetadata.mergeTree See Also: IIOMetadataNode version: 0.5 |
Field Summary | |
protected Node | offendingNode The Node that led to the parsing error, or
null . |
Constructor 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. | 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. |
offendingNode | protected Node offendingNode(Code) | | The Node that led to the parsing error, or
null .
|
IIOInvalidTreeException | public IIOInvalidTreeException(String message, Node offendingNode)(Code) | | Constructs an IIOInvalidTreeException with a
message string and a reference to the Node that
caused the parsing error.
Parameters: message - a String containing the reason forthe parsing failure. Parameters: offendingNode - the DOM Node that caused theexception, or null . |
IIOInvalidTreeException | public IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)(Code) | | 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.
Parameters: message - a String containing the reason forthe parsing failure. Parameters: cause - the Throwable (Error orException ) that caused this exception to occur,or null . Parameters: offendingNode - the DOM Node that caused theexception, or null . |
getOffendingNode | public Node getOffendingNode()(Code) | | Returns the Node that caused the error in parsing.
the offending Node . |
|
|