com.ibm.bpe.api

Class EngineEndlessLoopException

  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.EngineEndlessLoopException
All implemented interfaces:
java.io.Serializable

  1. public class EngineEndlessLoopException
  2. extends ProcessException
Exception class for error message Engine.EndlessLoop.
Thrown when: An endless loop can be caused by a while, repeatUntil, forEach, or generalizedFlow activity in the following circumstances: 1) The activity does not have a termination condition defined. 2) The activity has a termination condition that cannot be met. 3) The activity has a termination condition that can be met, but the number of iterations does not fit into one transaction. 4) The generalizedFlow activity has a cyclic flow that does not end.
User action: Check the process model, and change the termination condition of the activity, or the link condition for a generalized flow. If the process is a long-running process, you can introduce a transactional boundary inside the loop activity, for example, by modifying the transactional behavior attribute of a nested activity.
Since:
7.0.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
EngineEndlessLoopException(java.lang.Object[] vars)
Constructor.
EngineEndlessLoopException(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

EngineEndlessLoopException

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

EngineEndlessLoopException

  1. public EngineEndlessLoopException( java.lang.Object[] vars,
  2. java.lang.Throwable cause)
Constructor.
Parameters:
vars - An array with 3 substitution variables for CWWBE0201W: The current transaction of the process ''{0}'' has been active for {1} seconds. The activity ''{2}'' might be in an endless loop.
{0} is the process name.
{1} is the number of seconds.
{2} is the name of the activity.
cause - The exception that was thrown.