java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
javax.imageio.metadata.IIOInvalidTreeException
- All Implemented Interfaces:
 Serializable
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.- See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionIIOInvalidTreeException(String message, Throwable cause, Node offendingNode) Constructs anIIOInvalidTreeExceptionwith a message string, a reference to an exception that caused this exception, and a reference to theNodethat caused the parsing error.IIOInvalidTreeException(String message, Node offendingNode) Constructs anIIOInvalidTreeExceptionwith a message string and a reference to theNodethat caused the parsing error. - 
Method Summary
Modifier and TypeMethodDescriptionReturns theNodethat caused the error in parsing.Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Field Details
- 
offendingNode
TheNodethat led to the parsing error, ornull. 
 - 
 - 
Constructor Details
- 
IIOInvalidTreeException
Constructs anIIOInvalidTreeExceptionwith a message string and a reference to theNodethat caused the parsing error.- Parameters:
 message- aStringcontaining the reason for the parsing failure.offendingNode- the DOMNodethat caused the exception, ornull.
 - 
IIOInvalidTreeException
Constructs anIIOInvalidTreeExceptionwith a message string, a reference to an exception that caused this exception, and a reference to theNodethat caused the parsing error.- Parameters:
 message- aStringcontaining the reason for the parsing failure.cause- theThrowable(ErrororException) that caused this exception to occur, ornull.offendingNode- the DOMNodethat caused the exception, ornull.
 
 - 
 - 
Method Details
- 
getOffendingNode
Returns theNodethat caused the error in parsing.- Returns:
 - the offending 
Node. 
 
 -