com.ibm.bpe.api
Class ServiceNotUniqueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.bpe.api.ProcessException
              extended bycom.ibm.bpe.api.ServiceNotUniqueException
All Implemented Interfaces:
java.io.Serializable

public class ServiceNotUniqueException
extends ProcessException

Exception class for error message Api.ServiceNotUnique.
Thrown when: The service to be called is not unique. For example, you issued call() to execute a microflow that starts with a pick activity and multiple onMessage definitions. Or, you called initiate() and there is more than one starting activity.
User action: Use sendMessage() and specify the service to be called.

See Also:
Serialized Form

Constructor Summary
ServiceNotUniqueException(java.lang.Object[] vars)
          Constructor.
ServiceNotUniqueException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageKey, getMessageVariables, getRootCause, 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
 

Constructor Detail

ServiceNotUniqueException

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

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

ServiceNotUniqueException

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

Parameters:
vars - An array with 0 substitution variables for BPEA0019E: Service is not unique.
cause - The exception that was thrown.