public class IIOInvalidTreeException extends IIOException
IIOInvalidTreeException抛出时试图通过一
IIOMetadata对象解析树的
IIOMetadataNodes失败。导致解析错误的节点可以被存储。与任何分析错误一样,实际的错误可能发生在它被检测到的一个不同的点上。返回的节点的
getOffendingNode应该仅仅被视为问题的实际性的线索。
| Modifier and Type | Field and Description |
|---|---|
protected Node |
offendingNode
的
Node导致解析错误,或
null。
|
| Constructor and Description |
|---|
IIOInvalidTreeException(String message, Node offendingNode)
构建一个消息字符串和一个参考造成解析错误的
Node一
IIOInvalidTreeException。
|
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)
Node一
IIOInvalidTreeException。
message -
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.