com.ibm.bpe.api

Class EngineEndlessLoopException

  • All Implemented Interfaces:
    java.io.Serializable


    public class EngineEndlessLoopException
    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
    • Constructor Detail

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

        protected EngineEndlessLoopException(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.
      • EngineEndlessLoopException

        protected EngineEndlessLoopException(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