public class PropertyBatchUpdateException extends BeansException
バインディングプロセスは、アプリケーションレベルの PropertyAccessExceptions に遭遇すると続行され、適用可能な変更を適用し、拒否された変更をこのクラスのオブジェクトに格納します。
コンストラクターと説明 |
---|
PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions) 新しい PropertyBatchUpdateException を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | contains(java.lang.Class<?> exType) この例外に特定の型の例外が含まれているかどうかを確認します。特定のクラス自体のものであるか、特定の型のネストされた原因が含まれています。 |
int | getExceptionCount() これが 0 を返す場合、バインド中にエラーは発生していません。 |
java.lang.String | getMessage() ネストされた例外がある場合は、その例外からのメッセージを含む詳細メッセージを返します。 |
PropertyAccessException | getPropertyAccessException(java.lang.String propertyName) このフィールドの例外を返すか、存在しない場合は null を返します。 |
PropertyAccessException[] | getPropertyAccessExceptions() このオブジェクトに格納されている propertyAccessExceptions の配列を返します。 |
void | printStackTrace(java.io.PrintStream ps) |
void | printStackTrace(java.io.PrintWriter pw) |
java.lang.String | toString() |
equals, hashCode
getMostSpecificCause, getRootCause
public PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions)
propertyAccessExceptions
- PropertyAccessExceptions のリスト public final int getExceptionCount()
public final PropertyAccessException[] getPropertyAccessExceptions()
エラーがなかった場合、空の配列(null
ではない)を返します。
public PropertyAccessException getPropertyAccessException(java.lang.String propertyName)
null
を返します。public java.lang.String getMessage()
NestedRuntimeException
NestedRuntimeException
の getMessage
public java.lang.String toString()
java.lang.Throwable
の toString
public void printStackTrace(java.io.PrintStream ps)
java.lang.Throwable
の printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
java.lang.Throwable
の printStackTrace
public boolean contains(java.lang.Class<?> exType)
NestedRuntimeException
NestedRuntimeException
の contains
exType
- 検索する例外型