类 MissingPortletRequestParameterException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- javax.portlet.PortletException
- org.springframework.web.portlet.bind.PortletRequestBindingException
- org.springframework.web.portlet.bind.MissingPortletRequestParameterException
- 所有已实现的接口:
Serializable
public class MissingPortletRequestParameterException extends PortletRequestBindingException
PortletRequestBindingException
subclass that indicates a missing parameter.- 从以下版本开始:
- 2.0.2
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 MissingPortletRequestParameterException(String parameterName, String parameterType)
Constructor for MissingPortletRequestParameterException.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getMessage()
String
getParameterName()
Return the name of the offending parameter.String
getParameterType()
Return the expected type of the offending parameter.
构造器详细资料
MissingPortletRequestParameterException
public MissingPortletRequestParameterException(String parameterName, String parameterType)
Constructor for MissingPortletRequestParameterException.- 参数:
parameterName
- the name of the missing parameterparameterType
- the expected type of the missing parameter
方法详细资料
getMessage
public String getMessage()
- 覆盖:
getMessage
在类中Throwable
getParameterName
public final String getParameterName()
Return the name of the offending parameter.
getParameterType
public final String getParameterType()
Return the expected type of the offending parameter.