org.springframework.web.portlet.bind
Class MissingPortletRequestParameterException
java.lang.Object
PortletException
org.springframework.web.portlet.bind.PortletRequestBindingException
org.springframework.web.portlet.bind.MissingPortletRequestParameterException
public class MissingPortletRequestParameterException
- extends PortletRequestBindingException
PortletRequestBindingException
subclass that indicates a missing parameter.
- Since:
- 2.0.2
- Author:
- Juergen Hoeller
Method Summary |
java.lang.String |
getMessage()
|
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 |
parameterName
private final java.lang.String parameterName
parameterType
private final java.lang.String parameterType
MissingPortletRequestParameterException
public MissingPortletRequestParameterException(java.lang.String parameterName,
java.lang.String parameterType)
- Constructor for MissingPortletRequestParameterException.
- Parameters:
parameterName
- the name of the missing parameterparameterType
- the expected type of the missing parameter
getMessage
public java.lang.String getMessage()
getParameterName
public final java.lang.String getParameterName()
- Return the name of the offending parameter.
getParameterType
public final java.lang.String getParameterType()
- Return the expected type of the offending parameter.