java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.crypto.MarshalException
- すべての実装されたインタフェース:
Serializable
public class MarshalException extends Exception
XML整列化または非整列化の処理中に発生した例外条件を示します。
MarshalException
には原因(このMarshalException
のスローを引き起こした別のスロー可能オブジェクト)を含めることができます。
- 導入されたバージョン:
- 1.6
- 関連項目:
-
コンストラクタのサマリー
コンストラクタコンストラクタ説明詳細メッセージとしてnull
を持つ新しいMarshalException
を構築します。MarshalException
(String message) 指定された詳細メッセージで新しいMarshalException
を構築します。MarshalException
(String message, Throwable cause) 指定された詳細メッセージおよび原因を使用して新規MarshalException
を構築します。MarshalException
(Throwable cause) 指定された原因と詳細メッセージ((cause==null ? null : cause.toString())
)を持つ新しいMarshalException
を構築します(通常、クラスとcause
の詳細メッセージを含みます)。 -
メソッドのサマリー
修飾子と型メソッド説明getCause()
このMarshalException
の原因を返します。原因が存在しないか不明の場合はnull
を返します。void
このMarshalException
、そのバックトレースおよび原因のバックトレースを標準エラー・ストリームに出力します。void
このMarshalException
、そのバックトレースおよび原因のバックトレースを指定した出力ストリームに出力します。void
このMarshalException
、そのバックトレースおよび原因のバックトレースを指定したプリント・ライターに出力します。クラスjava.lang.Throwableで宣言されたメソッド
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
コンストラクタの詳細
-
MarshalException
public MarshalException()詳細メッセージとしてnull
を持つ新しいMarshalException
を構築します。 -
MarshalException
public MarshalException(String message) 指定された詳細メッセージで新しいMarshalException
を構築します。- パラメータ:
message
- 詳細メッセージ
-
MarshalException
-
MarshalException
public MarshalException(Throwable cause) 指定された原因と詳細メッセージ((cause==null ? null : cause.toString())
)を持つ新しいMarshalException
を構築します(通常、クラスとcause
の詳細メッセージを含みます)。- パラメータ:
cause
- 原因(null
値が許可され、原因が存在しないか不明であることを示す)
-
-
メソッドの詳細
-
getCause
-
printStackTrace
public void printStackTrace()このMarshalException
、そのバックトレースおよび原因のバックトレースを標準エラー・ストリームに出力します。- オーバーライド:
printStackTrace
、クラスThrowable
-
printStackTrace
public void printStackTrace(PrintStream s) このMarshalException
、そのバックトレースおよび原因のバックトレースを指定した出力ストリームに出力します。- オーバーライド:
printStackTrace
、クラスThrowable
- パラメータ:
s
- 出力に使用するPrintStream
-
printStackTrace
public void printStackTrace(PrintWriter s) このMarshalException
、そのバックトレースおよび原因のバックトレースを指定したプリント・ライターに出力します。- オーバーライド:
printStackTrace
、クラスThrowable
- パラメータ:
s
- 出力に使用するPrintWriter
-