com.ibm.bpe.api
Class EngineProcessCompensatedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.bpe.api.ProcessException
              extended bycom.ibm.bpe.api.ProcessFaultException
                  extended bycom.ibm.bpe.api.EngineProcessCompensatedException
All Implemented Interfaces:
java.io.Serializable

public class EngineProcessCompensatedException
extends ProcessFaultException

Exception class for error message Engine.ProcessCompensated.
Thrown when: A process runs in a compensation sphere if the 'requiresCompensationSphere' attribute is set to true. The compensation sphere for this process was rejected, that is, the process was compensated although the process did not end with a failure.
User action: Create and execute a new process instance with the same input parameters to retry the action.

See Also:
Serialized Form

Constructor Summary
EngineProcessCompensatedException(java.lang.Object[] vars)
          Constructor.
EngineProcessCompensatedException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class com.ibm.bpe.api.ProcessFaultException
getFaultMessage, setFaultMessage
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageKey, getMessageVariables, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EngineProcessCompensatedException

public EngineProcessCompensatedException(java.lang.Object[] vars)
Constructor.

Parameters:
vars - See EngineProcessCompensatedException(Object[], Throwable)

EngineProcessCompensatedException

public EngineProcessCompensatedException(java.lang.Object[] vars,
                                         java.lang.Throwable cause)
Constructor.

Parameters:
vars - An array with 1 substitution variable for BPEE0048E: Process ''{0}'' has been compensated.
{0} is the name of the process.
cause - The exception that was thrown.