com.ibm.bpe.api
Class EngineCannotRunSynchronousException

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

public class EngineCannotRunSynchronousException
extends SystemFaultException

Exception class for error message Engine.CannotRunSynchronous.
Thrown when: A process is invoked with "call" but the canRunSynchronous flag for the process is set to "false" or the longRunning flag to "true".
User action: Use "sendMessage" or "initiate" to invoke the process.

See Also:
Serialized Form

Constructor Summary
EngineCannotRunSynchronousException(java.lang.Object[] vars)
          Constructor.
EngineCannotRunSynchronousException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
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

EngineCannotRunSynchronousException

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

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

EngineCannotRunSynchronousException

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

Parameters:
vars - An array with 1 substitution variable for BPEE0014E: Process model ''{0}'' is not configured to run synchronously.
{0} is the name of the process model.
cause - The exception that was thrown.