public class MarshalException extends JAXBException
 ValidationEventHandlerは、整列化操作中にこの例外をスローする可能性があります。 ValidationEventHandler.handleEvent(ValidationEvent)を参照してください。 
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を作成します。 | 
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic MarshalException(String message)
message - 例外の説明public MarshalException(String message, String errorCode)
message - 例外の説明errorCode - ベンダー固有のエラー・コードを指定する文字列public MarshalException(Throwable exception)
exception - リンクされた例外public MarshalException(String message, Throwable exception)
message - 例外の説明exception - リンクされた例外 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。