クラス 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
- 関連事項:
フィールドサマリー
クラス org.springframework.beans.TypeMismatchException から継承されたフィールド
ERROR_CODE
コンストラクターのサマリー
コンストラクター説明MethodArgumentTypeMismatchException
(ObjectSE value, ClassSE<?> requiredType, StringSE name, MethodParameter param, ThrowableSE cause) 方法の概要
クラス org.springframework.beans.TypeMismatchException から継承されたメソッド
getErrorCode, getPropertyName, getRequiredType, getValue, initPropertyName
クラス org.springframework.beans.PropertyAccessException から継承されたメソッド
getPropertyChangeEvent
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
MethodArgumentTypeMismatchException
public MethodArgumentTypeMismatchException(@Nullable ObjectSE value, @Nullable ClassSE<?> requiredType, StringSE name, MethodParameter param, @Nullable ThrowableSE cause)
メソッドの詳細
getName
メソッドの引数の名前を返します。getParameter
ターゲットメソッドのパラメーターを返します。getMessage
- オーバーライド:
- クラス
ThrowableSE
のgetMessage