站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

MissingPortletRequestParameterException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.web.portlet.bind
Class MissingPortletRequestParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.portlet.PortletException
              extended by org.springframework.web.portlet.bind.PortletRequestBindingException
                  extended by org.springframework.web.portlet.bind.MissingPortletRequestParameterException
All Implemented Interfaces:
Serializable

public class MissingPortletRequestParameterException
extends PortletRequestBindingException

PortletRequestBindingException subclass that indicates a missing parameter.

Since:
2.0.2
Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
MissingPortletRequestParameterException(String parameterName, String parameterType)
          Constructor for MissingPortletRequestParameterException.
 
Method Summary
 String getMessage()
           
 String getParameterName()
          Return the name of the offending parameter.
 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
 

Constructor Detail

MissingPortletRequestParameterException

public MissingPortletRequestParameterException(String parameterName,
                                               String parameterType)
Constructor for MissingPortletRequestParameterException.

Parameters:
parameterName - the name of the missing parameter
parameterType - the expected type of the missing parameter
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getParameterName

public String getParameterName()
Return the name of the offending parameter.


getParameterType

public String getParameterType()
Return the expected type of the offending parameter.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.