|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.stream.XMLStreamException
public class XMLStreamException
予期しない処理エラーのための基本の例外です。この例外クラスは、予期しない処理条件と整形式エラーを報告するために使用されます。
| フィールドの概要 | |
|---|---|
protected Location |
location
|
protected Throwable |
nested
|
| コンストラクタの概要 | |
|---|---|
XMLStreamException()
デフォルトのコンストラクタです。 |
|
XMLStreamException(String msg)
メッセージが関連付けられた例外を構築します。 |
|
XMLStreamException(String msg,
Location location)
メッセージ、例外、および場所が関連付けられた例外を構築します。 |
|
XMLStreamException(String msg,
Location location,
Throwable th)
メッセージ、例外、および場所が関連付けられた例外を構築します。 |
|
XMLStreamException(String msg,
Throwable th)
メッセージと例外が関連付けられた例外を構築します。 |
|
XMLStreamException(Throwable th)
例外が関連付けられた例外を構築します。 |
|
| メソッドの概要 | |
|---|---|
Location |
getLocation()
例外の場所を取得します。 |
Throwable |
getNestedException()
入れ子の例外を取得します。 |
| クラス 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 Throwable nested
protected Location location
| コンストラクタの詳細 |
|---|
public XMLStreamException()
public XMLStreamException(String msg)
msg - 報告するメッセージpublic XMLStreamException(Throwable th)
th - 入れ子の例外
public XMLStreamException(String msg,
Throwable th)
th - 入れ子の例外msg - 報告するメッセージ
public XMLStreamException(String msg,
Location location,
Throwable th)
th - 入れ子の例外msg - 報告するメッセージlocation - エラーの場所
public XMLStreamException(String msg,
Location location)
msg - 報告するメッセージlocation - エラーの場所| メソッドの詳細 |
|---|
public Throwable getNestedException()
public Location getLocation()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。