クラス MissingMatrixVariableException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
jakarta.servlet.ServletException
org.springframework.web.bind.ServletRequestBindingException
org.springframework.web.bind.MissingRequestValueException
org.springframework.web.bind.MissingMatrixVariableException
- 実装されているすべてのインターフェース:
SerializableSE,ErrorResponse
@RequestMapping メソッドのメソッドパラメーターで予期されるマトリックス変数が、URL から抽出されたマトリックス変数の中に存在しないことを示す ServletRequestBindingException サブクラス。- 導入:
- 5.1
- 作成者:
- Juergen Hoeller
- 関連事項:
ネストされたクラスの要約
インターフェース org.springframework.web.ErrorResponse から継承されたネストクラス / インターフェース
ErrorResponse.Builderコンストラクターの概要
コンストラクターコンストラクター説明MissingMatrixVariableException(StringSE variableName, MethodParameter parameter) MissingMatrixVariableException のコンストラクター。MissingMatrixVariableException(StringSE variableName, MethodParameter parameter, boolean missingAfterConversion) 値が存在するがnullに変換される場合に使用するコンストラクター。メソッドのサマリー
修飾子と型メソッド説明final MethodParameterマトリックス変数にバインドされたメソッドパラメーターを返します。final StringSEマトリックス変数の予想される名前を返します。クラス org.springframework.web.bind.MissingRequestValueException から継承されたメソッド
isMissingAfterConversionクラス org.springframework.web.bind.ServletRequestBindingException から継承されたメソッド
getBody, getDetailMessageArguments, getDetailMessageCode, getStatusCodeクラス jakarta.servlet.ServletExceptionEE から継承されたメソッド
getRootCauseEEクラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.web.ErrorResponse から継承されたメソッド
getDetailMessageArguments, getHeaders, getTitleMessageCode, getTypeMessageCode, updateAndGetBody
コンストラクターの詳細
MissingMatrixVariableException
MissingMatrixVariableException のコンストラクター。- パラメーター:
variableName- 欠落しているマトリックス変数の名前parameter- メソッドパラメーター
MissingMatrixVariableException
public MissingMatrixVariableException(StringSE variableName, MethodParameter parameter, boolean missingAfterConversion) 値が存在するがnullに変換される場合に使用するコンストラクター。- パラメーター:
variableName- 欠落しているマトリックス変数の名前parameter- メソッドパラメーターmissingAfterConversion- 変換後に値が null になったのかどうか- 導入:
- 5.3.6
メソッドの詳細
getMessage
- オーバーライド:
- クラス
ThrowableSEのgetMessage
getVariableName
マトリックス変数の予想される名前を返します。getParameter
マトリックス変数にバインドされたメソッドパラメーターを返します。