is new.
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
javax.imageio.metadata.IIOInvalidTreeException
public class IIOInvalidTreeException
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.
| Field Summary | |
|---|---|
protected
org.w3c.dom.Node
|
offendingNode
The Node that led to the parsing error, or null. |
| Constructor Summary | |
|---|---|
IIOInvalidTreeException
(
String
Constructs an IIOInvalidTreeException with a message string and a reference to the Node that caused the parsing error. |
|
IIOInvalidTreeException
(
String
message,
Throwable
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. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Node
|
getOffendingNode
() Returns the Node that caused the error in parsing. |
| Methods inherited from class java.lang. Throwable |
|---|
| fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| Methods inherited from class java.lang. Object |
|---|
| clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| Field Detail |
|---|
protected org.w3c.dom.Node
protectedNodeoffendingNode
| Constructor Detail |
|---|
public IIOInvalidTreeException(Stringmessage, org.w3c.dom.Node offendingNode)
message,NodeoffendingNode)
public IIOInvalidTreeException(String message,
Throwable
cause,
org.w3c.dom.Node offendingNode) 
cause,

Node
offendingNode)
| Method Detail |
|---|
public org.w3c.dom.Node
publicNodegetOffendingNode()