类 MissingRequestParameterException
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.MissingRequestValueException
cn.taketoday.web.bind.MissingRequestParameterException
- 所有已实现的接口:
HttpStatusCodeProvider,ErrorResponse,Serializable
RequestBindingException subclass that indicates a missing parameter.- 从以下版本开始:
- 4.0 2022/1/22 23:20
- 作者:
- Harry Yang
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明MissingRequestParameterException(String parameterName, String parameterType) Constructor for MissingRequestParameterException.MissingRequestParameterException(String parameterName, String parameterType, boolean missingAfterConversion) Constructor for use when a value was present but converted tonull. -
方法概要
从类继承的方法 cn.taketoday.web.bind.MissingRequestValueException
isMissingAfterConversion从类继承的方法 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- 另请参阅:
-
parameterName
-
parameterType
-
-
构造器详细资料
-
MissingRequestParameterException
Constructor for MissingRequestParameterException.- 参数:
parameterName- the name of the missing parameterparameterType- the expected type of the missing parameter
-
MissingRequestParameterException
public MissingRequestParameterException(String parameterName, String parameterType, boolean missingAfterConversion) Constructor for use when a value was present but converted tonull.- 参数:
parameterName- the name of the missing parameterparameterType- the expected type of the missing parametermissingAfterConversion- whether the value became null after conversion
-
-
方法详细资料
-
getMessage
- 覆盖:
getMessage在类中Throwable
-
getParameterName
Return the name of the offending parameter. -
getParameterType
Return the expected type of the offending parameter.
-