com.ibm.portal.state.accessors.exceptions
Class CannotRetrieveResourceUrlAccessorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.state.exceptions.StateException
com.ibm.portal.state.accessors.exceptions.ResourceUrlException
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 |
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 |
request
protected final javax.servlet.http.HttpServletRequest request
- the request we tried to create the resource URL on
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 onaReason
- reason for the exception
CannotRetrieveResourceUrlAccessorException
public CannotRetrieveResourceUrlAccessorException(java.lang.Exception aReason)
- Parameters:
aReason
- reason for the exception
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
- Returns:
- the request we tried to create the resource URL on