パッケージ jakarta.xml.bind
クラス JAXBException
- java.lang.ObjectSE
- 
- java.lang.ThrowableSE
- 
- java.lang.ExceptionSE
- 
- jakarta.xml.bind.JAXBException
 
 
 
- 実装されているすべてのインターフェース:
- SerializableSE
 - public class JAXBException extends ExceptionSE これは、すべての Jakarta XML Binding 例外のルート例外クラスです。- 導入:
- 1.6、JAXB 1.0
- 作成者:
- Ryan Shoemaker, Sun Microsystems, Inc.
 
- 関連事項:
- JAXBContext,- Marshaller,- Unmarshaller, 連載形式
 
- コンストラクターの概要- コンストラクター - コンストラクター - 説明 - JAXBException(StringSE message)指定された詳細メッセージを使用して JAXBException を作成します。- JAXBException(StringSE message, StringSE errorCode)指定された詳細メッセージとベンダー固有の errorCode を使用して JAXBException を構築します。- JAXBException(StringSE message, StringSE errorCode, ThrowableSE exception)指定された詳細メッセージ、ベンダー固有の errorCode、および linkedException を使用して JAXBException を構築します。- JAXBException(StringSE message, ThrowableSE exception)指定された詳細メッセージと linkedException を使用して JAXBException を構築します。- JAXBException(ThrowableSE exception)linkedException を使用して JAXBException を構築します。
 - メソッドのサマリー- すべてのメソッド インスタンスメソッド 具象メソッド - 修飾子と型 - メソッド - 説明 - ThrowableSE- getCause()- StringSE- getErrorCode()ベンダー固有のエラーコードを取得する- ThrowableSE- getLinkedException()リンクされた例外を取得する- void- printStackTrace()この JAXBException とそのスタックトレース (linkedException が null でない場合は linkedException のスタックトレースを含む) を- System.errに出力します。- void- printStackTrace(PrintStreamSE s)この JAXBException とそのスタックトレース (linkedException が null でない場合は linkedException のスタックトレースを含む) を PrintStream に出力します。- void- printStackTrace(PrintWriterSE s)この JAXBException とそのスタックトレース (linkedException が null でない場合は linkedException のスタックトレースを含む) を PrintWriter に出力します。- void- setLinkedException(ThrowableSE exception)リンクされた例外を追加します。- StringSE- toString()この JAXBException の簡単な説明を返します。- クラス java.lang.ThrowableSE から継承されたメソッド- addSuppressedSE, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, setStackTraceSE
 
 
- コンストラクターの詳細- JAXBException- public JAXBException(StringSE message) 指定された詳細メッセージを持つ JAXBException を構築します。errorCode と linkedException はデフォルトで null になります。- パラメーター:
- message- 例外の説明
 
 - JAXBException- public JAXBException(StringSE message, StringSE errorCode) 指定された詳細メッセージとベンダー固有の errorCode を使用して JAXBException を構築します。linkedException はデフォルトで null になります。- パラメーター:
- message- 例外の説明
- errorCode- ベンダー固有のエラーコードを指定する文字列
 
 - JAXBException- public JAXBException(ThrowableSE exception) linkedException を使用して JAXBException を構築します。詳細メッセージとベンダー固有の errorCode はデフォルトで null になります。- パラメーター:
- exception- リンクされた例外
 
 - JAXBException- public JAXBException(StringSE message, ThrowableSE exception) 指定された詳細メッセージと linkedException を使用して JAXBException を構築します。errorCode はデフォルトで null になります。- パラメーター:
- message- 例外の説明
- exception- リンクされた例外
 
 - JAXBException- public JAXBException(StringSE message, StringSE errorCode, ThrowableSE exception) 指定された詳細メッセージ、ベンダー固有の errorCode、および linkedException を使用して JAXBException を構築します。- パラメーター:
- message- 例外の説明
- errorCode- ベンダー固有のエラーコードを指定する文字列
- exception- リンクされた例外
 
 
 - メソッドの詳細- getErrorCode- public StringSE getErrorCode() ベンダー固有のエラーコードを取得する- 戻り値:
- ベンダー固有のエラーコードを指定する文字列
 
 - getLinkedException- public ThrowableSE getLinkedException() リンクされた例外を取得する- 戻り値:
- リンクされた例外、存在しない場合は null
 
 - setLinkedException- public void setLinkedException(ThrowableSE exception) リンクされた例外を追加します。- パラメーター:
- exception- リンクされた例外(null 値が許可され、リンクされた例外が存在しないか不明であることを示します)。
 
 - toString- public StringSE toString() この JAXBException の簡単な説明を返します。- オーバーライド:
-  クラス ThrowableSEのtoString
 
 - printStackTrace- public void printStackTrace(PrintStreamSE s) この JAXBException とそのスタックトレース (linkedException が null でない場合は linkedException のスタックトレースを含む) を PrintStream に出力します。- オーバーライド:
-  クラス ThrowableSEのprintStackTraceSE
- パラメーター:
- s- 出力に使用する PrintStream
 
 - printStackTrace- public void printStackTrace() この JAXBException とそのスタックトレース (linkedException が null でない場合は linkedException のスタックトレースを含む) を- System.errに出力します。- オーバーライド:
-  クラス ThrowableSEのprintStackTrace
 
 - printStackTrace- public void printStackTrace(PrintWriterSE s) この JAXBException とそのスタックトレース (linkedException が null でない場合は linkedException のスタックトレースを含む) を PrintWriter に出力します。- オーバーライド:
-  クラス ThrowableSEのprintStackTraceSE
- パラメーター:
- s- 出力に使用する PrintWriter
 
 - getCause- public ThrowableSE getCause() - オーバーライド:
-  クラス ThrowableSEのgetCause