com.ibm.portal.state.accessors.exceptions
Class InvalidPortletModeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.state.exceptions.StateException
              extended by com.ibm.portal.state.accessors.exceptions.PortletAccessorException
                  extended by com.ibm.portal.state.accessors.exceptions.InvalidPortletModeException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class InvalidPortletModeException
extends PortletAccessorException

Exception which should be thrown in case that a String representing a portlet mode cannot be converted to a PortletMode object.

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
          Name of the window state that is invalid
 
Fields inherited from class com.ibm.portal.state.accessors.exceptions.PortletAccessorException
accessor
 
Constructor Summary
InvalidPortletModeException(java.lang.String aName, PortletAccessor aAccessor)
          Initializes the exception with the accessor that caused the exception
InvalidPortletModeException(java.lang.String aName, PortletAccessor aAccessor, java.lang.Exception aReason)
          Initializes the exception with the accessor that caused the exception
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Field Detail

name

protected final java.lang.String name
Name of the window state that is invalid

Constructor Detail

InvalidPortletModeException

public InvalidPortletModeException(java.lang.String aName,
                                   PortletAccessor aAccessor)
Initializes the exception with the accessor that caused the exception

Parameters:
aAccessor - Portlet accessor that caused the exception
aName - Name of the window state that is invalid

InvalidPortletModeException

public InvalidPortletModeException(java.lang.String aName,
                                   PortletAccessor aAccessor,
                                   java.lang.Exception aReason)
Initializes the exception with the accessor that caused the exception

Parameters:
aAccessor - Portlet accessor that caused the exception
aName - Name of the window state that is invalid
aReason - Reason for the exception