クラス MethodArgumentTypeMismatchException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
org.springframework.beans.TypeMismatchException
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException
- 実装済みのインターフェース一覧:
SerializableSE
コントローラーメソッドの引数の解決中に TypeMismatchException が発生しました。ターゲット
MethodParameter へのアクセスを提供します。- 導入:
- 4.2
- 作成者:
- Rossen Stoyanchev
- 関連事項:
フィールド概要
クラス TypeMismatchException から継承されたフィールド
ERROR_CODEコンストラクター概要
コンストラクターコンストラクター説明MethodArgumentTypeMismatchException(@Nullable ObjectSE value, @Nullable ClassSE<?> requiredType, StringSE name, MethodParameter param, @Nullable ThrowableSE cause) 方法の概要
クラス TypeMismatchException から継承されたメソッド
getErrorCode, getPropertyName, getRequiredType, getValue, initPropertyNameクラス PropertyAccessException から継承されたメソッド
getPropertyChangeEventクラス NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
コンストラクターの詳細
MethodArgumentTypeMismatchException
public MethodArgumentTypeMismatchException(@Nullable ObjectSE value, @Nullable ClassSE<?> requiredType, StringSE name, MethodParameter param, @Nullable ThrowableSE cause)
メソッドの詳細
getName
メソッドの引数の名前を返します。getParameter
ターゲットメソッドのパラメーターを返します。getMessage
- オーバーライド:
- クラス
ThrowableSEのgetMessage