public class MissingServletRequestParameterException extends ServletRequestBindingException
ServletRequestBindingException subclass that indicates a missing parameter.| Constructor and Description |
|---|
MissingServletRequestParameterException(String parameterName,
String parameterType)
Constructor for MissingServletRequestParameterException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Return the detail message, including the message from the nested exception
if there is one.
|
String |
getParameterName()
Return the name of the offending parameter.
|
String |
getParameterType()
Return the expected type of the offending parameter.
|
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MissingServletRequestParameterException(String parameterName, String parameterType)
parameterName - the name of the missing parameterparameterType - the expected type of the missing parameterpublic String getMessage()
NestedServletExceptiongetMessage in class NestedServletExceptionpublic final String getParameterName()
public final String getParameterType()