org.springframework.web.portlet.bind
Class 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
- All Implemented Interfaces:
- java.io.Serializable
public class MissingPortletRequestParameterException
- extends PortletRequestBindingException
PortletRequestBindingException subclass that indicates a missing parameter.
- Since:
- 2.0.2
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
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 javax.portlet.PortletException |
getCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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()
- Overrides:
getMessage
in class java.lang.Throwable
getParameterName
public java.lang.String getParameterName()
- Return the name of the offending parameter.
getParameterType
public java.lang.String getParameterType()
- Return the expected type of the offending parameter.
Copyright © 2002-2008 The Spring Framework.