public class ServerWebInputException extends ResponseStatusException
MethodParameter if related to the error).| Constructor and Description | 
|---|
ServerWebInputException(String reason)
Constructor with an explanation only. 
 | 
ServerWebInputException(String reason,
                       MethodParameter parameter)
Constructor for a 400 error linked to a specific  
MethodParameter. | 
ServerWebInputException(String reason,
                       MethodParameter parameter,
                       Throwable cause)
Constructor for a 400 error with a root cause. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodParameter | 
getMethodParameter()
Return the  
MethodParameter associated with this error, if any. | 
getHeaders, getMessage, getRawStatusCode, getReason, getResponseHeaders, getStatuscontains, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServerWebInputException(String reason)
public ServerWebInputException(String reason, @Nullable MethodParameter parameter)
MethodParameter.public ServerWebInputException(String reason, @Nullable MethodParameter parameter, @Nullable Throwable cause)
@Nullable public MethodParameter getMethodParameter()
MethodParameter associated with this error, if any.