public class MissingServletRequestParameterException extends ServletRequestBindingException
ServletRequestBindingException
subclass that indicates a missing parameter.Constructor and Description |
---|
MissingServletRequestParameterException(java.lang.String parameterName,
java.lang.String parameterType)
Constructor for MissingServletRequestParameterException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Return the detail message, including the message from the nested exception
if there is one.
|
java.lang.String |
getParameterName()
Return the name of the offending parameter.
|
java.lang.String |
getParameterType()
Return the expected type of the offending parameter.
|
getRootCause
public MissingServletRequestParameterException(java.lang.String parameterName, java.lang.String parameterType)
parameterName
- the name of the missing parameterparameterType
- the expected type of the missing parameterpublic java.lang.String getMessage()
NestedServletException
getMessage
in class NestedServletException
public final java.lang.String getParameterName()
public final java.lang.String getParameterType()