| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.servlet.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.
| Constructor Summary | |
|---|---|
| MissingServletRequestParameterException(String parameterName,
                                        String parameterType)Constructor for MissingServletRequestParameterException. | |
| Method Summary | |
|---|---|
|  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. | 
| 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 MissingServletRequestParameterException(String parameterName,
                                               String parameterType)
parameterName - the name of the missing parameterparameterType - the expected type of the missing parameter| Method Detail | 
|---|
public String getMessage()
NestedServletException
getMessage in class NestedServletExceptionpublic String getParameterName()
public String getParameterType()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||