类 UnsatisfiedRequestParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.web.bind.RequestBindingException
cn.taketoday.web.bind.UnsatisfiedRequestParameterException
- 所有已实现的接口:
HttpStatusCodeProvider,ErrorResponse,Serializable
RequestBindingException subclass that indicates an unsatisfied
parameter condition, as typically expressed using an @RequestMapping
annotation at the @Controller type level.- 从以下版本开始:
- 4.0 2022/3/2 16:23
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private static final long -
构造器概要
构造器构造器说明UnsatisfiedRequestParameterException(String[] paramConditions, Map<String, String[]> actualParams) Create a new UnsatisfiedServletRequestParameterException.UnsatisfiedRequestParameterException(List<String[]> paramConditions, Map<String, String[]> actualParams) Create a new UnsatisfiedServletRequestParameterException. -
方法概要
修饰符和类型方法说明Return the actual parameter Map associated with the ServletRequest.Return all parameter condition groups that have been violated.final String[]Return the parameter conditions that have been violated or the first group in case of multiple groups.private static StringrequestParameterMapToString(Map<String, String[]> actualParams) 从类继承的方法 cn.taketoday.web.bind.RequestBindingException
getBody, getStatusCode, setDetail, setInstance, setTitle, setType从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 cn.taketoday.web.ErrorResponse
getHeaders
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
paramConditions
-
actualParams
-
-
构造器详细资料
-
UnsatisfiedRequestParameterException
public UnsatisfiedRequestParameterException(String[] paramConditions, Map<String, String[]> actualParams) Create a new UnsatisfiedServletRequestParameterException.- 参数:
paramConditions- the parameter conditions that have been violatedactualParams- the actual parameter Map associated with the ServletRequest
-
UnsatisfiedRequestParameterException
public UnsatisfiedRequestParameterException(List<String[]> paramConditions, Map<String, String[]> actualParams) Create a new UnsatisfiedServletRequestParameterException.- 参数:
paramConditions- all sets of parameter conditions that have been violatedactualParams- the actual parameter Map associated with the ServletRequest
-
-
方法详细资料
-
getMessage
- 覆盖:
getMessage在类中Throwable
-
getParamConditions
Return the parameter conditions that have been violated or the first group in case of multiple groups.- 另请参阅:
-
getParamConditionGroups
Return all parameter condition groups that have been violated.- 另请参阅:
-
getActualParams
Return the actual parameter Map associated with the ServletRequest. -
requestParameterMapToString
-