com.ibm.portal.state.exceptions
Class NoCodecInUrlException

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

public abstract class NoCodecInUrlException
extends UrlDoesNotContainInformationException

Exception representing the error case that an input mediator cannot retrieve any codec information from the received URL. The codec is necessary for state decoding. 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 data
          data string that did not contain a decodeable codec information
 
Fields inherited from class com.ibm.portal.state.exceptions.UrlInputMediatorException
request
 
Fields inherited from class com.ibm.portal.state.exceptions.InputMediatorException
mediator
 
Constructor Summary
NoCodecInUrlException(java.lang.String aData, javax.servlet.http.HttpServletRequest aRequest, com.ibm.portal.state.InputMediator aMediator)
           
 
Method Summary
 
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

data

protected final java.lang.String data
data string that did not contain a decodeable codec information

Constructor Detail

NoCodecInUrlException

public NoCodecInUrlException(java.lang.String aData,
                             javax.servlet.http.HttpServletRequest aRequest,
                             com.ibm.portal.state.InputMediator aMediator)
Parameters:
aData - data string that we tried to decode
aRequest - Servlet request that could not be decoded
aMediator - Input mediator that caused the exception (must not be null)