IBM WebSphere Application ServerTM
Release 8

com.ibm.bpe.api
Class EngineWrongTaskTemplateException

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.EngineWrongTaskTemplateException
All Implemented Interfaces:
java.io.Serializable

public class EngineWrongTaskTemplateException
extends ProcessException

Exception class for error message Engine.WrongTaskTemplate.
Thrown when: An attempt was made to send a message to a process instance using an originating task, but the task defined on the receiving activity or event handler differs from the task used.
User action: Correct your application logic.

Since:
6.0
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
EngineWrongTaskTemplateException(java.lang.Object[] vars)
          Constructor.
EngineWrongTaskTemplateException(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

EngineWrongTaskTemplateException

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

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

EngineWrongTaskTemplateException

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

Parameters:
vars - An array with 3 substitution variables for CWWBE0119E: The originating task for operation ''{0}'' does not match the expected task on activity ''{1}'' and process ''{2}''.
{0} is the name of operation the task is associated with.
{1} is the name of the activity.
{2} is the name of the process.
cause - The exception that was thrown.

IBM WebSphere Application ServerTM
Release 8