com.ibm.bpe.api

Class EngineInvalidMaxCompletedBranchesException

  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.InvalidParameterValueException
  6. extended bycom.ibm.bpe.api.EngineInvalidMaxCompletedBranchesException
All implemented interfaces:
java.io.Serializable

  1. public class EngineInvalidMaxCompletedBranchesException
  2. 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

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
EngineInvalidMaxCompletedBranchesException(java.lang.Object[] vars)
Constructor.
EngineInvalidMaxCompletedBranchesException(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

EngineInvalidMaxCompletedBranchesException

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

EngineInvalidMaxCompletedBranchesException

  1. public EngineInvalidMaxCompletedBranchesException( java.lang.Object[] vars,
  2. 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.