com.ibm.bpe.api

Class 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
    • Constructor Detail

      • 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.
      • EngineCorrelationSetAlreadyInitializedException

        protected EngineCorrelationSetAlreadyInitializedException(java.lang.String key,
                                                       java.lang.Object[] vars,
                                                       java.lang.String id,
                                                       java.lang.Throwable cause)
        Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.
        Parameters:
        key - The message key.
        vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
        id - The message identifier.
        cause - The exception that was thrown.
      • EngineCorrelationSetAlreadyInitializedException

        protected EngineCorrelationSetAlreadyInitializedException(java.lang.String catalog,
                                                       java.lang.String key,
                                                       java.lang.Object[] vars,
                                                       java.lang.String id,
                                                       java.lang.Throwable cause)
        Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.
        Parameters:
        catalog - The catalog which have to be used to retrieve the message.
        key - The message key.
        vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
        id - The message identifier.
        cause - The exception that was thrown.
IBM Business Process ManagerTM
Release 8