public class IIOInvalidTreeException extends IIOException
IIOInvalidTreeException当被试图抛出IIOMetadata对象来解析树IIOMetadataNode小号失败。
可能存储导致解析错误的节点。
与任何解析错误一样,实际错误可能发生在与检测到错误的不同点。
getOffendingNode返回的节点只能被视为问题的实际性质的线索。
| Modifier and Type | Field and Description |
|---|---|
protected Node |
offendingNode
Node导致解析错误,或
null 。
|
| Constructor and Description |
|---|
IIOInvalidTreeException(String message, Node offendingNode)
构造一个
IIOInvalidTreeException与消息字符串和所述的参考
Node导致解析错误。
|
IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
构造一个
IIOInvalidTreeException ,其中包含消息字符串,引用此异常的异常的引用,以及引起解析错误的
Node 。
|
| Modifier and Type | Method and Description |
|---|---|
Node |
getOffendingNode()
返回导致解析错误的
Node 。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected Node offendingNode
Node导致解析错误,或
null 。
public IIOInvalidTreeException(String message, Node offendingNode)
IIOInvalidTreeException与消息字符串和所述的参考
Node导致解析错误。
message - 一个
String解析失败原因的
String 。
offendingNode -的DOM
Node导致异常,或
null 。
public Node getOffendingNode()
Node 。
Node 。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.