クラス NotWritablePropertyException
- 実装されているすべてのインターフェース:
SerializableSE
書き込み可能でないプロパティの値を設定しようとすると例外がスローされます(通常、setter メソッドがないため)。
- 作成者:
- Rod Johnson, Alef Arendsen, Arjen Poutsma
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明NotWritablePropertyException(ClassSE<?> beanClass, StringSE propertyName) 新しい NotWritablePropertyException を作成します。NotWritablePropertyException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg) 新しい NotWritablePropertyException を作成します。NotWritablePropertyException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg, StringSE[] possibleMatches) 新しい NotWritablePropertyException を作成します。NotWritablePropertyException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg, ThrowableSE cause) 新しい NotWritablePropertyException を作成します。メソッドのサマリー
修飾子と型メソッド説明無効なプロパティ名が存在する場合、それと厳密に一致する実際の Bean プロパティ名の提案を返します。クラス InvalidPropertyException から継承されたメソッド
getBeanClass, getPropertyNameクラス NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
コンストラクターの詳細
NotWritablePropertyException
NotWritablePropertyException
NotWritablePropertyException
public NotWritablePropertyException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg, ThrowableSE cause) 新しい NotWritablePropertyException を作成します。- パラメーター:
beanClass- 問題のある Bean クラスpropertyName- 問題のプロパティ名msg- 詳細メッセージcause- 根本原因
NotWritablePropertyException
メソッドの詳細
getPossibleMatches