|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
javax.imageio.metadata.IIOInvalidTreeException
public class IIOInvalidTreeException
IIOInvalidTreeException は、IIOMetadata オブジェクトによる IIOMetadataNode のツリーの構文解析ができなかった場合にスローされます。構文解析エラーになったノードは保存できます。どの構文解析エラーの場合でも、実際のエラーは検出された場所とは別の位置で発生する可能性があります。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)
メッセージ文字列と、構文解析エラーを発生させた Node への参照を示す IIOInvalidTreeException を構築します。 |
|
IIOInvalidTreeException(String message,
Throwable cause,
Node offendingNode)
メッセージ文字列、この例外を発生させた例外への参照、および構文解析エラーを発生させた Node への参照を示す IIOInvalidTreeException を構築します。 |
|
| メソッドの概要 | |
|---|---|
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)
Node への参照を示す IIOInvalidTreeException を構築します。
message - 構文解析エラーになった理由を含む StringoffendingNode - 例外を発生させた DOM Node または null
public IIOInvalidTreeException(String message,
Throwable cause,
Node offendingNode)
Node への参照を示す IIOInvalidTreeException を構築します。
message - 構文解析エラーになった理由を含む Stringcause - この例外を発生させた Throwable (Error、Exception) または nulloffendingNode - 例外を発生させた DOM Node または null| メソッドの詳細 |
|---|
public Node getOffendingNode()
Node を返します。
Node
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。