com.ibm.bpe.api

Class EngineAmbiguousActivityException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.bpe.api.ProcessException
  5. extended bycom.ibm.bpe.api.EngineAmbiguousActivityException
All implemented interfaces:
java.io.Serializable

  1. public class EngineAmbiguousActivityException
  2. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
Fields inherited from class com.ibm.bpe.api.ProcessException
_catalog, _cause, _id, _key, _message, _vars

Constructor Summary

Constructor and Description
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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

EngineAmbiguousActivityException

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

EngineAmbiguousActivityException

  1. public EngineAmbiguousActivityException( java.lang.Object[] vars,
  2. 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.