クラスの使用
org.springframework.beans.PropertyAccessException
PropertyAccessException を使用するパッケージ
パッケージ
説明
このパッケージには、Java Bean を操作するためのインターフェースとクラスが含まれています。
ビジネスや UI レイヤーで使用するためのデータバインディングおよび検証機能を提供します。
アノテーションベースのハンドラーメソッド処理のクラスをサポートします。
org.springframework.beans 内の PropertyAccessException 使用
修飾子と型クラス説明class
Bean プロパティに適したエディターまたはコンバーターが見つからない場合にスローされる例外。class
Bean プロパティ getter または setter メソッドが InvocationTargetException に類似した例外をスローするとスローされます。class
Bean プロパティを設定しようとしたときに、型の不一致でスローされた例外。修飾子と型メソッド説明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 のメソッド修飾子と型メソッド説明void
BindingErrorProcessor.processPropertyAccessException
(PropertyAccessException ex, BindingResult bindingResult) 指定されたPropertyAccessException
を、指定されたErrors
インスタンスに登録された適切なエラーに変換します。void
DefaultBindingErrorProcessor.processPropertyAccessException
(PropertyAccessException ex, BindingResult bindingResult) org.springframework.web.method.annotation 内の PropertyAccessException 使用
修飾子と型クラス説明class
メソッド引数の解決中に ConversionNotSupportedException が発生しました。class
コントローラーメソッドの引数の解決中に TypeMismatchException が発生しました。