|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.crypto.MarshalException
public class MarshalException
XML 整列化または非整列化の処理中に発生した例外条件を示します。
MarshalException には「原因」 (この MarshalException のスローを引き起こした別のスロー可能オブジェクト) を含めることができます。
XMLSignature.sign(XMLSignContext),
XMLSignatureFactory.unmarshalXMLSignature(XMLValidateContext),
直列化された形式| コンストラクタの概要 | |
|---|---|
MarshalException()
詳細メッセージとして null を持つ MarshalException を新しく構築します。 |
|
MarshalException(String message)
指定された詳細メッセージを持つ MarshalException を新しく構築します。 |
|
MarshalException(String message,
Throwable cause)
指定された詳細メッセージと原因を持つ MarshalException を新しく構築します。 |
|
MarshalException(Throwable cause)
指定された原因と詳細メッセージ (cause==null ? null :cause.toString()) を持つ MarshalException を新しく構築します (通常、cause のクラスと詳細メッセージが含まれる)。 |
|
| メソッドの概要 | |
|---|---|
Throwable |
getCause()
この MarshalException の原因を返します。 |
void |
printStackTrace()
MarshalException、そのバックトレースおよび原因のバックとレースを標準エラーストリームに出力します。 |
void |
printStackTrace(PrintStream s)
MarshalException、そのバックトレースおよび原因のバックとレースを指定した出力ストリームに出力します。 |
void |
printStackTrace(PrintWriter s)
MarshalException、そのバックトレースおよび原因のバックとレースを指定したプリントライターに出力します。 |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MarshalException()
null を持つ MarshalException を新しく構築します。
public MarshalException(String message)
MarshalException を新しく構築します。
message - 詳細メッセージ
public MarshalException(String message,
Throwable cause)
MarshalException を新しく構築します。 cause と関連付けられた詳細メッセージが、この例外の詳細メッセージに自動的に統合されることはありません。
message - 詳細メッセージcause - 原因 (null 値が許可され、原因が存在しないか不明であることを示す)public MarshalException(Throwable cause)
(cause==null ? null :cause.toString()) を持つ MarshalException を新しく構築します (通常、cause のクラスと詳細メッセージが含まれる)。
cause - 原因 (null 値が許可され、原因が存在しないか不明であることを示す)| メソッドの詳細 |
|---|
public Throwable getCause()
MarshalException の原因を返します。原因が存在しないか不明の場合は null を返します。原因はこの MarshalException をスローさせた Throwable です。
Throwable 内の getCauseMarshalException の原因。原因が存在しない場合や不明な場合は nullpublic void printStackTrace()
MarshalException、そのバックトレースおよび原因のバックとレースを標準エラーストリームに出力します。
Throwable 内の printStackTracepublic void printStackTrace(PrintStream s)
MarshalException、そのバックトレースおよび原因のバックとレースを指定した出力ストリームに出力します。
Throwable 内の printStackTraces - 出力に使用する PrintStreampublic void printStackTrace(PrintWriter s)
MarshalException、そのバックトレースおよび原因のバックとレースを指定したプリントライターに出力します。
Throwable 内の printStackTraces - 出力に使用する PrintWriter
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。