public class IIOInvalidTreeException extends IIOException
IIOInvalidTreeException は、IIOMetadata オブジェクトによる IIOMetadataNode のツリーの構文解析の試みに失敗した場合にスローされます。構文解析エラーになったノードは保存できます。どの構文解析エラーの場合でも、実際のエラーは検出された場所とは別の位置で発生する可能性があります。getOffendingNode から返されるノードは、本来の問題の手がかりにすぎないと見なすことが必要です。| 修飾子と型 | フィールドと説明 |
|---|---|
protected Node |
offendingNode
構文解析エラーになった
Node、または null。 |
| コンストラクタと説明 |
|---|
IIOInvalidTreeException(String message, Node offendingNode)
メッセージ文字列と、構文解析エラーを発生させた
Node への参照を示す IIOInvalidTreeException を構築します。 |
IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
メッセージ文字列、この例外を発生させた例外への参照、および構文解析エラーを発生させた
Node への参照を示す IIOInvalidTreeException を構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
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 IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
Node への参照を示す IIOInvalidTreeException を構築します。message - 構文解析エラーになった理由を含む String。cause - この例外を発生させた Throwable (Error または Exception)、または null。offendingNode - 例外を発生させた DOM Node、または null。public Node getOffendingNode()
Node を返します。Node。 バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.