com.ibm.bpe.api
Class EngineEndlessLoopException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.EngineEndlessLoopException
All implemented interfaces:
java.io.Serializable
- public class EngineEndlessLoopException
- extends ProcessException
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:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
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
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
EngineEndlessLoopException
- public EngineEndlessLoopException( java.lang.Object[] vars)
Constructor.
Parameters:
EngineEndlessLoopException
- public EngineEndlessLoopException( java.lang.Object[] vars,
- 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.