com.ibm.wsspi.sibx.mediation
Class MediationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.wsspi.sibx.mediation.MediationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MediationBusinessException, MediationConfigurationException

public class MediationException
extends java.lang.Exception

Base exception for all mediation primitive exceptions. Mediation primitives may throw a defined set of exceptions which all extend this exception class.

When a mediation primitive throws an exception from the mediate method, the exception is caught by the flow engine. The engine will determine if the mediation primitive has a failure terminal defined, and if so it will cause the invocation of any flow elements wired to the failure terminal. If the mediation primitive does not define a failure terminal, or the failure terminal is not wired, then the exception is propagated and will cause the failure of the whole flow.

See Also:
Serialized Form

Field Summary
static java.lang.String $sccsid
           
static java.lang.String COPYRIGHT
           
 
Constructor Summary
protected MediationException()
          Default constructor explicitly defined as protected.
protected MediationException(java.lang.String message)
          Constructor which takes a message as the only parameter.
protected MediationException(java.lang.String message, java.lang.Throwable cause)
          Constructor which takes a message, and a causal exception.
protected MediationException(java.lang.Throwable cause)
          Constructor which takes a causal 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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

$sccsid

public static final java.lang.String $sccsid
See Also:
Constant Field Values
Constructor Detail

MediationException

protected MediationException()
Default constructor explicitly defined as protected.


MediationException

protected MediationException(java.lang.String message)
Constructor which takes a message as the only parameter.

Parameters:
message - the exception message

MediationException

protected MediationException(java.lang.String message,
                             java.lang.Throwable cause)
Constructor which takes a message, and a causal exception.

Parameters:
message - the exception message
cause - the causal exception

MediationException

protected MediationException(java.lang.Throwable cause)
Constructor which takes a causal exception.

Parameters:
cause - the causal exception