com.ibm.bpe.api
Class EngineDuplicateAwaitedEventException

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

public class EngineDuplicateAwaitedEventException
extends ProcessException

Exception class for error message Engine.DuplicateAwaitedEvent.
Thrown when: A receive event tried to register an awaited event that is already registered for this process instance.
User action: Check the process model and remove the receive events that are waiting for the same events in parallel.

See Also:
Serialized Form

Constructor Summary
EngineDuplicateAwaitedEventException(java.lang.Object[] vars)
          Constructor.
EngineDuplicateAwaitedEventException(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

EngineDuplicateAwaitedEventException

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

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

EngineDuplicateAwaitedEventException

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

Parameters:
vars - An array with 2 substitution variables for BPEE0038E: Duplicate awaited event ''{0}'' for process instance with process instance ID (PIID) ''{1}''.
{0} is the name of the event.
{1} is the identifier of the process instance in which the receive event is trying to register the event.
cause - The exception that was thrown.