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:
Serializable
public class MissingPortletRequestParameterException extends PortletRequestBindingException
PortletRequestBindingExceptionsubclass that indicates a missing parameter.- Since:
- 2.0.2
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description MissingPortletRequestParameterException(String parameterName, String parameterType)Constructor for MissingPortletRequestParameterException.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetParameterName()Return the name of the offending parameter.StringgetParameterType()Return the expected type of the offending parameter.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
MissingPortletRequestParameterException
public MissingPortletRequestParameterException(String parameterName, String parameterType)
Constructor for MissingPortletRequestParameterException.- Parameters:
parameterName- the name of the missing parameterparameterType- the expected type of the missing parameter
Method Detail
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
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.