クラス PropertyBatchUpdateException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyBatchUpdateException
- 実装されているすべてのインターフェース:
SerializableSE
個々の PropertyAccessException インスタンスで構成される複合例外。このクラスのオブジェクトは、バインディングプロセスの開始時に作成され、必要に応じてエラーが追加されます。
バインディングプロセスは、アプリケーションレベルの PropertyAccessExceptions に遭遇すると続行され、適用可能な変更を適用し、拒否された変更をこのクラスのオブジェクトに格納します。
- 導入:
- 2001 年 4 月 18 日
- 作成者:
- Rod Johnson, Juergen Hoeller
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions) 新しい PropertyBatchUpdateException を作成します。メソッドのサマリー
修飾子と型メソッド説明booleanこの例外に特定の型の例外が含まれているかどうかを確認します。特定のクラス自体のものであるか、特定の型のネストされた原因が含まれています。final intこれが 0 を返す場合、バインド中にエラーは発生していません。getPropertyAccessException(StringSE propertyName) このフィールドの例外を返すか、存在しない場合はnullを返します。final PropertyAccessException[]このオブジェクトに格納されている propertyAccessExceptions の配列を返します。voidvoidtoString()クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
getMostSpecificCause, getRootCauseクラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, setStackTraceSE
コンストラクターの詳細
PropertyBatchUpdateException
新しい PropertyBatchUpdateException を作成します。- パラメーター:
propertyAccessExceptions- PropertyAccessExceptions のリスト
メソッドの詳細
getExceptionCount
public final int getExceptionCount()これが 0 を返す場合、バインド中にエラーは発生していません。getPropertyAccessExceptions
このオブジェクトに格納されている propertyAccessExceptions の配列を返します。エラーがなかった場合、空の配列(
nullではない)を返します。getPropertyAccessException
このフィールドの例外を返すか、存在しない場合はnullを返します。getMessage
- オーバーライド:
- クラス
ThrowableSEのgetMessage
toString
- オーバーライド:
- クラス
ThrowableSEのtoString
printStackTrace
- オーバーライド:
- クラス
ThrowableSEのprintStackTraceSE
printStackTrace
- オーバーライド:
- クラス
ThrowableSEのprintStackTraceSE
contains
クラスからコピーされた説明:NestedRuntimeExceptionこの例外に特定の型の例外が含まれているかどうかを確認します。特定のクラス自体のものであるか、特定の型のネストされた原因が含まれています。- オーバーライド:
- クラス
NestedRuntimeExceptionのcontains - パラメーター:
exType- 検索する例外型- 戻り値:
- 指定された型のネストされた例外があるかどうか