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