クラス PropertyAccessException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
- 実装済みのインターフェース一覧:
SerializableSE
- 既知の直属サブクラス
MethodInvocationException, TypeMismatchException
型の不一致や呼び出しターゲット例外など、プロパティアクセスに関連する例外のスーパークラス。
- 作成者:
- Rod Johnson, Juergen Hoeller
- 関連事項:
コンストラクター概要
コンストラクターコンストラクター説明PropertyAccessException(PropertyChangeEventSE propertyChangeEvent, StringSE msg, @Nullable ThrowableSE cause) 新しい PropertyAccessException を作成します。PropertyAccessException(StringSE msg, @Nullable ThrowableSE cause) PropertyChangeEvent なしで新しい PropertyAccessException を作成します。方法の概要
クラス NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
コンストラクターの詳細
PropertyAccessException
public PropertyAccessException(PropertyChangeEventSE propertyChangeEvent, StringSE msg, @Nullable ThrowableSE cause) 新しい PropertyAccessException を作成します。- パラメーター:
propertyChangeEvent- 問題の原因となった PropertyChangeEventmsg- 詳細メッセージcause- 根本原因
PropertyAccessException
PropertyChangeEvent なしで新しい PropertyAccessException を作成します。- パラメーター:
msg- 詳細メッセージcause- 根本原因
メソッドの詳細
getPropertyChangeEvent
問題の原因となった PropertyChangeEvent を返します。nullの場合があります。実際の Bean プロパティが影響を受けた場合にのみ使用できます。getPropertyName
getValue
getErrorCode
この型の例外に対応するエラーコードを返します。