IBM WebSphere Application ServerTM
Release 8

com.ibm.bpe.api
Class EngineAmbiguousActivityException

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.EngineAmbiguousActivityException
All Implemented Interfaces:
java.io.Serializable

public class EngineAmbiguousActivityException
extends ProcessException

Exception class for error message Engine.AmbiguousActivity.
Thrown when: All APIs that accept an activity name to identify the activity require that this activity name is unique within the process model. If the activity is enclosed in an event handler or a forEach activity, the activity name cannot be used at all to address the activity since multiple instances of this activity might exist.
User action: Check your process model to give the corresponding activity an unique name, if the activity is not enclosed in an event handler or forEach activity or consider to use an API which uses an activity instance ID (AIID) to identify the activity.

Since:
6.0.2
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
EngineAmbiguousActivityException(java.lang.Object[] vars)
          Constructor.
EngineAmbiguousActivityException(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

EngineAmbiguousActivityException

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

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

EngineAmbiguousActivityException

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

Parameters:
vars - An array with 2 substitution variables for CWWBE0138E: The name ''{0}'' does not uniquely identify an activity in the process model ''{1}''.
{0} is the ambiguous activity name.
{1} is the process model name.
cause - The exception that was thrown.

IBM WebSphere Application ServerTM
Release 8