com.ibm.bpe.api
Class EngineInvalidNumberOfLinksException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.bpe.api.ProcessException
              extended by com.ibm.bpe.api.InvalidParameterValueException
                  extended by com.ibm.bpe.api.EngineInvalidNumberOfLinksException
All Implemented Interfaces:
java.io.Serializable

public class EngineInvalidNumberOfLinksException
extends InvalidParameterValueException

Exception class for error message Engine.InvalidNumberOfLinks.
Thrown when: An attempt was made to force navigation for a stopped activity. The request contained a list of link names. The stopped activity has either a Split gateway that requires that exactly one outgoing link is specified or an 'Inclusive Or' gateway that requires that at least one outgoing link is specified.
User action: Fix the program that invoked the forceNavigate method. Provide the required number of link names. If you issued the request via the admin client, specify the correct number of link names.

Since:
6.2
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.bpe.api.ProcessException
_catalog, _cause, _id, _key, _message, _vars
 
Constructor Summary
EngineInvalidNumberOfLinksException(java.lang.Object[] vars)
          Constructor.
EngineInvalidNumberOfLinksException(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:
Constant Field Values
Constructor Detail

EngineInvalidNumberOfLinksException

public EngineInvalidNumberOfLinksException(java.lang.Object[] vars)
Constructor.

Parameters:
vars - See EngineInvalidNumberOfLinksException(Object[], Throwable)

EngineInvalidNumberOfLinksException

public EngineInvalidNumberOfLinksException(java.lang.Object[] vars,
                                           java.lang.Throwable cause)
Constructor.

Parameters:
vars - An array with 4 substitution variables for CWWBE0181E: forceNavigate was requested with parameter ''linksToBeFollowed'' that contains ''{0}'' link names. Activity ''{1}'' in process ''{2}'' can only be continued if the number of links specified is ''{3}''.
{0} is the number of link names specified in the API call
{1} is the name of the stopped activity
{2} is the process name
{3} is the required number of links
cause - The exception that was thrown.