com.ibm.portal.state.exceptions
Class CannotDecodeStateFromStringException

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.exceptions.InputMediatorException
                  extended by com.ibm.portal.state.exceptions.UrlInputMediatorException
                      extended by com.ibm.portal.state.exceptions.CannotDecodeStateException
                          extended by com.ibm.portal.state.exceptions.CannotDecodeStateFromStringException
All Implemented Interfaces:
Localized, java.io.Serializable
Direct Known Subclasses:
CannotInterpretCodecException, CannotInterpretStateException

public abstract class CannotDecodeStateFromStringException
extends CannotDecodeStateException

Exception representing the error case that an input mediator cannot decode the state holder retrieved from a URL

Since:
5.1
See Also:
Serialized Form

Nested Class Summary
static interface CannotDecodeStateFromStringException.Location
          Location of the error
 
Field Summary
protected  CannotDecodeStateFromStringException.Location location
          location of the fault
 
Fields inherited from class com.ibm.portal.state.exceptions.UrlInputMediatorException
request
 
Fields inherited from class com.ibm.portal.state.exceptions.InputMediatorException
mediator
 
Constructor Summary
CannotDecodeStateFromStringException(CannotDecodeStateFromStringException.Location aLocation, HttpServletRequest aRequest, InputMediator aMediator)
          Initializes the execption with the input mediator that caused the exception and the reason for the exception.
CannotDecodeStateFromStringException(CannotDecodeStateFromStringException.Location aLocation, HttpServletRequest aRequest, InputMediator aMediator, java.lang.Exception aReason)
          Initializes the execption with the input mediator that caused the exception and the reason for the exception.
 
Method Summary
 CannotDecodeStateFromStringException.Location getLocation()
           
 
Methods inherited from class com.ibm.portal.state.exceptions.InputMediatorException
getMediator
 
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

location

protected final CannotDecodeStateFromStringException.Location location
location of the fault

Constructor Detail

CannotDecodeStateFromStringException

public CannotDecodeStateFromStringException(CannotDecodeStateFromStringException.Location aLocation,
                                            HttpServletRequest aRequest,
                                            InputMediator aMediator,
                                            java.lang.Exception aReason)
Initializes the execption with the input mediator that caused the exception and the reason for the exception.

Parameters:
aLocation - location of the fault
aRequest - Servlet request that could not be decoded
aMediator - Input mediator that caused the exception (must not be null)
aReason - Exception that provides details on the reason of failure (must not be null)

CannotDecodeStateFromStringException

public CannotDecodeStateFromStringException(CannotDecodeStateFromStringException.Location aLocation,
                                            HttpServletRequest aRequest,
                                            InputMediator aMediator)
Initializes the execption with the input mediator that caused the exception and the reason for the exception.

Parameters:
aLocation - location of the fault
aRequest - Servlet request that could not be decoded
aMediator - Input mediator that caused the exception (must not be null)
Method Detail

getLocation

public CannotDecodeStateFromStringException.Location getLocation()
Returns:
the location of the fault