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

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.StateAccessorException
                  extended by com.ibm.portal.state.accessors.exceptions.StateNotInRequestException
                      extended by com.ibm.portal.state.accessors.exceptions.StateAttributeNotInRequestException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class StateAttributeNotInRequestException
extends StateNotInRequestException

Exception representing the error that the attribute storing the StateHolder in the request cannot be found. NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme. The API can not be invoked directly by a custom servlet.

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  java.lang.String attribute
          Attribute that could not be located in the request
 
Fields inherited from class com.ibm.portal.state.accessors.exceptions.StateAccessorException
request
 
Constructor Summary
StateAttributeNotInRequestException(java.lang.String aAttribute, javax.servlet.http.HttpServletRequest aRequest)
          Initializes the exception with the request that caused it
 
Method Summary
 
Methods inherited from class com.ibm.portal.state.accessors.exceptions.StateAccessorException
getRequest
 
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

attribute

protected final java.lang.String attribute
Attribute that could not be located in the request

Constructor Detail

StateAttributeNotInRequestException

public StateAttributeNotInRequestException(java.lang.String aAttribute,
                                           javax.servlet.http.HttpServletRequest aRequest)
Initializes the exception with the request that caused it

Parameters:
aRequest - Servlet request that caused the exception
aAttribute - Attribute that could not be located in the request