com.ibm.portal.state.exceptions
Class InputMediatorException

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
All Implemented Interfaces:
Localized, java.io.Serializable
Direct Known Subclasses:
InputMediatorSAXException, UrlInputMediatorException

public abstract class InputMediatorException
extends StateException

Base exception for all input mediator exceptions. Should be sub- classed by specific input mediator exceptions.

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  com.ibm.portal.state.InputMediator mediator
          Input mediator that caused the exception
 
Constructor Summary
InputMediatorException(com.ibm.portal.state.InputMediator aMediator)
          Initializes the execption with the input mediator that caused the exception and the reason for the exception.
InputMediatorException(com.ibm.portal.state.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
 com.ibm.portal.state.InputMediator getMediator()
          Returns the input mediator that caused the exception.
 
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

mediator

protected final com.ibm.portal.state.InputMediator mediator
Input mediator that caused the exception

Constructor Detail

InputMediatorException

public InputMediatorException(com.ibm.portal.state.InputMediator aMediator,
                              java.lang.Exception aReason)
Initializes the execption with the input mediator that caused the exception and the reason for the exception.

Parameters:
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)

InputMediatorException

public InputMediatorException(com.ibm.portal.state.InputMediator aMediator)
Initializes the execption with the input mediator that caused the exception and the reason for the exception.

Parameters:
aMediator - Input mediator that caused the exception (must not be null)
Method Detail

getMediator

public com.ibm.portal.state.InputMediator getMediator()
Returns the input mediator that caused the exception.

Returns:
Input mediator that caused the exception