com.ibm.bpe.api
Class EngineCorrelationSetAlreadyInitializedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.bpe.api.ProcessException
              extended by com.ibm.bpe.api.EngineCorrelationSetAlreadyInitializedException
All Implemented Interfaces:
java.io.Serializable

public class EngineCorrelationSetAlreadyInitializedException
extends ProcessException

Exception class for error message Engine.CorrelationSetAlreadyInitialized.
Thrown when: An attempt was made to initialize a correlation set via the initializeCorrelationSet API. The correlation set in question cannot be initialized as it is either already initialized, or the correlation property values match match another process instance. The three cases to consider are: 1. The second parameter (process instance) of this exception is null: This means there is an already initialized correlation set for the supplied PIID but the property values (the correlation set content) is different. 2. The second parameter (process instance) of this exception matches the supplied PIID when calling the initializeCorrelationSet method: This means the correlation set for the supplied piid is already initialized with the supplied property values (the correlation set content). 3. The second parameter (process instance) of this exception is different from the supplied PIID when calling the initializeCorrelationSet method: This means there is already another process instance with an initialized correlation set with the supplied correlation property values.
User action: In case of (1) and if you were trying to repair the process instance by reinitializing the correlation set first uninitialize the correlation set instance in question using the uninitializeCorrelationSet API before trying to initialize it. In case of (2) double check the supplied correlation property values. In case they are not correct and if you were trying to repair the process instance by reinitializing the correlation set first uninitialize the correlation set instance in question using the uninitializeCorrelationSet API before trying to initialize it. In case of (3) use different correlation property values to initialize the correlation set.

Since:
7.0
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.bpe.api.ProcessException
_catalog, _cause, _id, _key, _message, _vars
 
Constructor Summary
EngineCorrelationSetAlreadyInitializedException(java.lang.Object[] vars)
          Constructor.
EngineCorrelationSetAlreadyInitializedException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, 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
 

Field Detail

COPYRIGHT

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

EngineCorrelationSetAlreadyInitializedException

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

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

EngineCorrelationSetAlreadyInitializedException

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

Parameters:
vars - An array with 2 substitution variables for CWWBE0192E: The correlation set ''{0}'' is already initialized for process instance ''{1}''.
{0} is the correlation set name.
{1} is the process instance ID for which the correlations set instance is already initialized.
cause - The exception that was thrown.