ServletRequestBindingException subclass that indicates a missing parameter.
| Modifier and Type | Field and Description |
|---|---|
| private final MethodParameter | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | MissingServletRequestParameterException(String
the name of the missing parameter parameterName, String the expected type of the missing parameter parameterType)Constructor for MissingServletRequestParameterException. |
| public | MissingServletRequestParameterException(String
the name of the missing parameter parameterName, MethodParameter the target method parameter for the missing value parameter, boolean whether the value became null after conversion missingAfterConversion)Constructor with a |
| public | MissingServletRequestParameterException(String
the name of the missing parameter parameterName, String the expected type of the missing parameter parameterType, boolean whether the value became null after conversion missingAfterConversion)
Deprecated
for removal since 6.1. in favor of
Constructor for use when a value was present but converted to MissingServletRequestParameterException(String, MethodParameter, boolean)
null.
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides java. |
| public MethodParameter | getMethodParameter()
Return the target |
| public final String | |
| public final String | |
| private static String |
| parameter | back to summary |
|---|---|
| private final MethodParameter parameter
| |
| parameterName | back to summary |
|---|---|
| private final String parameterName | |
| parameterType | back to summary |
|---|---|
| private final String parameterType | |
| MissingServletRequestParameterException | back to summary |
|---|---|
| public MissingServletRequestParameterException(String parameterName, String parameterType) Constructor for MissingServletRequestParameterException. | |
| MissingServletRequestParameterException | back to summary |
|---|---|
| public MissingServletRequestParameterException(String parameterName, MethodParameter parameter, boolean missingAfterConversion) Constructor with a
| |
| MissingServletRequestParameterException | back to summary |
|---|---|
| public MissingServletRequestParameterException(String parameterName, String parameterType, boolean missingAfterConversion)
Deprecated for removal since 6.1. in favor of Constructor for use when a value was present but converted to
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| getMethodParameter | back to summary |
|---|---|
| public MethodParameter getMethodParameter() Return the target
| |
| getParameterName | back to summary |
|---|---|
| public final String getParameterName() Return the name of the offending parameter. | |
| getParameterType | back to summary |
|---|---|
| public final String getParameterType() Return the expected type of the offending parameter. | |
| initBodyDetail | back to summary |
|---|---|
| private static String initBodyDetail(String name) | |