- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.bind.JAXBException
-
- javax.xml.bind.MarshalException
-
- すべての実装されたインタフェース:
Serializable
public class MarshalException extends JAXBException
この例外は、プロバイダが回復不能な整列化操作の実行中にエラーが発生したことを示します。ValidationEventHandler
は、整列化操作中にこの例外をスローする可能性があります。ValidationEventHandler.handleEvent(ValidationEvent)
を参照してください。- 導入されたバージョン:
- 1.6, JAXB 1.0
- 関連項目:
JAXBException
,Marshaller
, 直列化された形式
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 MarshalException(String message)
指定された詳細メッセージを持つMarshalExceptionを構築します。MarshalException(String message, String errorCode)
指定された詳細メッセージとベンダー固有のerrorCodeを持つMarshalExceptionを構築します。MarshalException(String message, String errorCode, Throwable exception)
指定された詳細メッセージ、ベンダー固有のerrorCode、linkedExceptionを持つMarshalExceptionを構築します。MarshalException(String message, Throwable exception)
指定された詳細メッセージとlinkedExceptionを持つMarshalExceptionを構築します。MarshalException(Throwable exception)
linkedExceptionを持つMarshalExceptionを作成します。
-
メソッドのサマリー
-
クラス javax.xml.bind.JAXBExceptionから継承されるメソッド
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString
-
クラス java.lang.Objectから継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
クラス java.lang.Throwableから継承されたメソッド
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
コンストラクタの詳細
-
MarshalException
public MarshalException(String message)
指定された詳細メッセージを持つMarshalExceptionを構築します。 errorCodeとlinkedExceptionは、デフォルトでnullになります。- パラメータ:
message
- 例外の説明
-
MarshalException
public MarshalException(String message, String errorCode)
指定された詳細メッセージとベンダー固有のerrorCodeを持つMarshalExceptionを構築します。 linkedExceptionは、デフォルトでnullになります。- パラメータ:
message
- 例外の説明errorCode
- ベンダー固有のエラー・コードを指定する文字列
-
MarshalException
public MarshalException(Throwable exception)
linkedExceptionを持つMarshalExceptionを作成します。 詳細メッセージとベンダー固有のerrorCodeはデフォルトでnullになります。- パラメータ:
exception
- リンクされた例外
-
MarshalException
public MarshalException(String message, Throwable exception)
指定された詳細メッセージとlinkedExceptionを持つMarshalExceptionを構築します。 errorCodeはデフォルトでnullになります。- パラメータ:
message
- 例外の説明exception
- リンクされた例外
-
-