|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.servlet.ServletException org.springframework.web.util.NestedServletException org.springframework.web.bind.ServletRequestBindingException org.springframework.web.bind.UnsatisfiedServletRequestParameterException
public class UnsatisfiedServletRequestParameterException
ServletRequestBindingException
subclass that indicates an unsatisfied
parameter condition, as typically expressed using an @RequestMapping
annotation at the @Controller
type level.
RequestMapping.params()
,
Serialized FormConstructor Summary | |
---|---|
UnsatisfiedServletRequestParameterException(String[] paramConditions,
Map actualParams)
Create a new UnsatisfiedServletRequestParameterException. |
Method Summary | |
---|---|
Map<String,String[]> |
getActualParams()
Return the actual parameter Map associated with the ServletRequest. |
String |
getMessage()
Return the detail message, including the message from the nested exception if there is one. |
String[] |
getParamConditions()
Return the parameter conditions that have been violated. |
Methods inherited from class javax.servlet.ServletException |
---|
getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnsatisfiedServletRequestParameterException(String[] paramConditions, Map actualParams)
paramConditions
- the parameter conditions that have been violatedactualParams
- the actual parameter Map associated with the ServletRequestMethod Detail |
---|
public String getMessage()
NestedServletException
getMessage
in class NestedServletException
public final String[] getParamConditions()
RequestMapping.params()
public final Map<String,String[]> getActualParams()
ServletRequest.getParameterMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |