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

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.InvalidWindowStateException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class InvalidWindowStateException
extends PortletAccessorException

Exception which should be thrown in case that a String representing a portlet window state cannot be converted to a WindowState 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
InvalidWindowStateException(java.lang.String aName, PortletAccessor aAccessor)
          Initializes the exception with the accessor that caused the exception
InvalidWindowStateException(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

InvalidWindowStateException

public InvalidWindowStateException(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

InvalidWindowStateException

public InvalidWindowStateException(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