クラスの使用
org.springframework.beans.PropertyAccessException
PropertyAccessException を使用するパッケージ
パッケージ
説明
このパッケージには、Java Bean を操作するためのインターフェースとクラスが含まれています。
ビジネスや UI レイヤーで使用するためのデータバインディングおよび検証機能を提供します。
アノテーションベースのハンドラーメソッド処理のクラスをサポートします。
org.springframework.beans 内の PropertyAccessException 使用
修飾子と型クラス説明classBean プロパティに適したエディターまたはコンバーターが見つからない場合にスローされる例外。classBean プロパティ getter または setter メソッドが InvocationTargetException に類似した例外をスローするとスローされます。classBean プロパティを設定しようとしたときに、型の不一致でスローされた例外。修飾子と型メソッド説明PropertyBatchUpdateException.getPropertyAccessException(StringSE propertyName) このフィールドの例外を返すか、存在しない場合はnullを返します。final PropertyAccessException[]PropertyBatchUpdateException.getPropertyAccessExceptions()このオブジェクトに格納されている propertyAccessExceptions の配列を返します。型 PropertyAccessException のパラメーターを持つ org.springframework.beans のコンストラクター修飾子コンストラクター説明PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions) 新しい PropertyBatchUpdateException を作成します。org.springframework.validation 内の PropertyAccessException 使用
型 PropertyAccessException のパラメーターを持つ org.springframework.validation のメソッド修飾子と型メソッド説明voidBindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult) 指定されたPropertyAccessExceptionを、指定されたErrorsインスタンスに登録された適切なエラーに変換します。voidDefaultBindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult) org.springframework.web.method.annotation 内の PropertyAccessException 使用
修飾子と型クラス説明classメソッド引数の解決中に ConversionNotSupportedException が発生しました。classコントローラーメソッドの引数の解決中に TypeMismatchException が発生しました。