|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ServletException org.springframework.web.util.NestedServletException org.springframework.web.bind.ServletRequestBindingException org.springframework.web.bind.MissingServletRequestParameterException
public class MissingServletRequestParameterException
ServletRequestBindingException
subclass that indicates a missing parameter.
Field Summary | |
---|---|
private java.lang.String |
parameterName
|
private java.lang.String |
parameterType
|
Constructor Summary | |
---|---|
MissingServletRequestParameterException(java.lang.String parameterName,
java.lang.String parameterType)
Constructor for MissingServletRequestParameterException. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.String parameterName
private final java.lang.String parameterType
Constructor Detail |
---|
public MissingServletRequestParameterException(java.lang.String parameterName, java.lang.String parameterType)
parameterName
- the name of the missing parameterparameterType
- the expected type of the missing parameterMethod Detail |
---|
public java.lang.String getMessage()
NestedServletException
getMessage
in class NestedServletException
public final java.lang.String getParameterName()
public final java.lang.String getParameterType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |