com.ibm.bpe.api

Class EngineInvalidMaxCompletedBranchesException

  • All Implemented Interfaces:
    java.io.Serializable


    public class EngineInvalidMaxCompletedBranchesException
    extends InvalidParameterValueException
    Exception class for error message Engine.InvalidMaxCompletedBranches.
    Thrown when: If the value passed for parameter 'maxCompletedBranches' is larger than the number of iterations evaluated through the values passed as parameters 'startCounter' and 'finalCounter' the completion condition of the forEach activity can never be true. If the forEach activity does not specify a completion condition at all, the parameter 'maxCompletedBranches' must be null. If the forEach activity specifies a completion condition, a value for parameter 'maxCompletedBranches' must be specified.
    User action: Correct the program that invoked the forceForEachCounterValues method. That is, provide a value for parameter 'maxCompletedBranches' that is less or equal than the number of iterations or null. If you issued the request via the admin client, provide a value for parameter 'maxCompletedBranches' that is less or equal than the number of iterations or null.
    Since:
    7.0
    See Also:
    Serialized Form
    • Constructor Detail

      • EngineInvalidMaxCompletedBranchesException

        public EngineInvalidMaxCompletedBranchesException(java.lang.Object[] vars,
                                                  java.lang.Throwable cause)
        Constructor.
        Parameters:
        vars - An array with 3 substitution variables for CWWBE0191E: forceForEachCounterValues was requested for forEach activity ''{0}'' with value ''{1}'' for parameter ''maxCompletedBranches''. Either this value is larger than the number of iterations ''{2}'' or the forEach activity does not specify a completion condition at all or this parameter value is null but the forEach activity specifies a completion condition.
        {0} is the name of the activity.
        {1} is the value of the parameter 'maxCompletedBranches'.
        {2} is the number of iterations.
        cause - The exception that was thrown.
IBM Business Process ManagerTM
Release 8