java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
javax.imageio.metadata.IIOInvalidTreeException
public class IIOInvalidTreeException
      当 IIOMetadata 对象尝试解析 IIOMetadataNode 的树失败时,将抛出 IIOInvalidTreeException。导致解析错误的节点可能被存储起来。与任何解析错误一样,实际错误发生点可能不同于检测到的错误发生点。getOffendingNode 返回的节点只能视为问题实质的线索。 
IIOMetadata.setFromTree(java.lang.String, org.w3c.dom.Node), 
    IIOMetadata.mergeTree(java.lang.String, org.w3c.dom.Node), 
    IIOMetadataNode, 
    序列化表格
   | 字段摘要 | |
|---|---|
 protected  Node |  
     offendingNode 导致解析错误的 Node,或 null。 |  
    
| 构造方法摘要 | |
|---|---|
IIOInvalidTreeException(String message, Node offendingNode) 构造一个 IIOInvalidTreeException,使其具有消息字符串和对导致解析错误的 Node 的引用。 |  
    |
IIOInvalidTreeException(String message, Throwable cause, Node offendingNode) 构造一个 IIOInvalidTreeException,使其具有消息字符串、对导致此异常的异常的引用和导致解析错误的 Node 的引用。 |  
    |
| 方法摘要 | |
|---|---|
  Node |  
     getOffendingNode() 返回导致解析错误的 Node。 |  
    
| 从类 java.lang.Throwable 继承的方法 | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |  
    
| 字段详细信息 | 
|---|
protected Node offendingNode
Node,或 
    null。 
    
| 构造方法详细信息 | 
|---|
public IIOInvalidTreeException(String message, Node offendingNode)
IIOInvalidTreeException,使其具有消息字符串和对导致解析错误的 
    Node 的引用。 
    
message - 包含解析错误的原因的 
      String。
     offendingNode - 导致异常的 DOM 
      Node,或 
      null。
     public IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
IIOInvalidTreeException,使其具有消息字符串、对导致此异常的异常的引用和导致解析错误的 
    Node 的引用。 
    
message - 包含解析错误的原因的 
      String。
     cause - 导致发生此异常的 
      Throwable(
      Error 或 
      Exception),或 
      null。
     offendingNode - 导致异常的 DOM 
      Node,或 
      null。
     | 方法详细信息 | 
|---|
public Node getOffendingNode()
Node。 
    
Node。