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

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

public abstract class CannotRetrieveResourceUrlAccessorException
extends ResourceUrlException

Exception representing the error case that the ResourceUrlAccessor (serving as a factory for resource URLs) cannot be obtained. 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  javax.servlet.http.HttpServletRequest request
          the request we tried to create the resource URL on
 
Constructor Summary
CannotRetrieveResourceUrlAccessorException(java.lang.Exception aReason)
           
CannotRetrieveResourceUrlAccessorException(javax.servlet.http.HttpServletRequest aRequest)
           
CannotRetrieveResourceUrlAccessorException(javax.servlet.http.HttpServletRequest aRequest, java.lang.Exception aReason)
           
 
Method Summary
 javax.servlet.http.HttpServletRequest 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

request

protected final javax.servlet.http.HttpServletRequest request
the request we tried to create the resource URL on

Constructor Detail

CannotRetrieveResourceUrlAccessorException

public CannotRetrieveResourceUrlAccessorException(javax.servlet.http.HttpServletRequest aRequest)
Parameters:
aRequest - the request we tried to create the resource URL on

CannotRetrieveResourceUrlAccessorException

public CannotRetrieveResourceUrlAccessorException(javax.servlet.http.HttpServletRequest aRequest,
                                                  java.lang.Exception aReason)
Parameters:
aRequest - the request we tried to create the resource URL on
aReason - reason for the exception

CannotRetrieveResourceUrlAccessorException

public CannotRetrieveResourceUrlAccessorException(java.lang.Exception aReason)
Parameters:
aReason - reason for the exception
Method Detail

getRequest

public javax.servlet.http.HttpServletRequest getRequest()
Returns:
the request we tried to create the resource URL on