当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
MissingServletRequestParameterException (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
org.springframework.web.bind
Class MissingServletRequestParameterException
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.MissingServletRequestParameterException
- All Implemented Interfaces:
- Serializable
public class MissingServletRequestParameterException
- extends ServletRequestBindingException
ServletRequestBindingException subclass that indicates a missing parameter.
- Since:
- 2.0.2
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
MissingServletRequestParameterException
public MissingServletRequestParameterException(String parameterName,
String parameterType)
- Constructor for MissingServletRequestParameterException.
- Parameters:
parameterName
- the name of the missing parameterparameterType
- the expected type of the missing parameter
getMessage
public String getMessage()
- Description copied from class:
NestedServletException
- Return the detail message, including the message from the nested exception
if there is one.
- Overrides:
getMessage
in class NestedServletException
getParameterName
public String getParameterName()
- Return the name of the offending parameter.
getParameterType
public String getParameterType()
- Return the expected type of the offending parameter.
Copyright © 2002-2007 The Spring Framework.