com.ibm.bpe.api
Class EngineInvalidMaxCompletedBranchesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.InvalidParameterValueException
com.ibm.bpe.api.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 as parameter 'maxCompletedBranches' is larger than the number of iterations evaluated through the values passed as parameter '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, parameter 'maxCompletedBranches' must be null. If the forEach activity does specify a completion condition, a value for parameter 'maxCompletedBranches' must be specified.
User action: Fix 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
Field Summary |
static java.lang.String |
COPYRIGHT
|
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
EngineInvalidMaxCompletedBranchesException
public EngineInvalidMaxCompletedBranchesException(java.lang.Object[] vars)
- Constructor.
- Parameters:
vars
- See EngineInvalidMaxCompletedBranchesException(Object[], Throwable)
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 does specify 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.