com.ibm.portal.state.exceptions
Class OutputMediatorException

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

public abstract class OutputMediatorException
extends StateException

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

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  com.ibm.portal.state.OutputMediator mediator
          Output mediator that caused the exception
 
Constructor Summary
OutputMediatorException(com.ibm.portal.state.OutputMediator aMediator, java.lang.Exception aReason)
          Initializes the execption with the output mediator that caused the exception and the reason for the exception.
 
Method Summary
 com.ibm.portal.state.OutputMediator getOutputMediator()
          Returns the output mediator
 
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.OutputMediator mediator
Output mediator that caused the exception

Constructor Detail

OutputMediatorException

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

Parameters:
aMediator - Output mediator that caused the exception (must not be null)
aReason - Exception that provides details on the reason of failure (must not be null)
Method Detail

getOutputMediator

public com.ibm.portal.state.OutputMediator getOutputMediator()
Returns the output mediator

Returns:
the mediator