JavaTM Platform
Standard Ed. 6

javax.xml.bind
クラス UnmarshalException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 javax.xml.bind.JAXBException
              上位を拡張 javax.xml.bind.UnmarshalException
すべての実装されたインタフェース:
Serializable

public class UnmarshalException
extends JAXBException

この例外は、非整列化操作の実行中にエラーが発生し、JAXB プロバイダが操作を完了できなかったことを示します。

ValidationEventHandler は、非整列化操作中にこの例外をスローする可能性があります。ValidationEventHandler.handleEvent(ValidationEvent) を参照してください。

導入されたバージョン:
JAXB1.0
関連項目:
JAXBException, Unmarshaller, ValidationEventHandler, 直列化された形式

コンストラクタの概要
UnmarshalException(String message)
          指定された詳細メッセージを持つ UnmarshalException を構築します。
UnmarshalException(String message, String errorCode)
          指定された詳細メッセージとベンダー固有の errorCode を持つ UnmarshalException を構築します。
UnmarshalException(String message, String errorCode, Throwable exception)
          指定された詳細メッセージ、ベンダー固有の errorCode、linkedException を持つ UnmarshalException を構築します。
UnmarshalException(String message, Throwable exception)
          指定された詳細メッセージと linkedException を持つ UnmarshalException を構築します。
UnmarshalException(Throwable exception)
          linkedException を持つ UnmarshalException を構築します。
 
メソッドの概要
 
クラス javax.xml.bind.JAXBException から継承されたメソッド
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

UnmarshalException

public UnmarshalException(String message)
指定された詳細メッセージを持つ UnmarshalException を構築します。errorCode と linkedException は、デフォルトで null になります。

パラメータ:
message - 例外の説明

UnmarshalException

public UnmarshalException(String message,
                          String errorCode)
指定された詳細メッセージとベンダー固有の errorCode を持つ UnmarshalException を構築します。linkedException は、デフォルトで null になります。

パラメータ:
message - 例外の説明
errorCode - ベンダー固有のエラーコードを指定する文字列

UnmarshalException

public UnmarshalException(Throwable exception)
linkedException を持つ UnmarshalException を構築します。詳細メッセージとベンダー固有の errorCode はデフォルトで null になります。

パラメータ:
exception - リンクされた例外

UnmarshalException

public UnmarshalException(String message,
                          Throwable exception)
指定された詳細メッセージと linkedException を持つ UnmarshalException を構築します。errorCode はデフォルトで null になります。

パラメータ:
message - 例外の説明
exception - リンクされた例外

UnmarshalException

public UnmarshalException(String message,
                          String errorCode,
                          Throwable exception)
指定された詳細メッセージ、ベンダー固有の errorCode、linkedException を持つ UnmarshalException を構築します。

パラメータ:
message - 例外の説明
errorCode - ベンダー固有のエラーコードを指定する文字列
exception - リンクされた例外

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。