|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
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。
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。