com.ibm.bpe.api

Class EngineWrongTaskTemplateException

  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.EngineWrongTaskTemplateException
All implemented interfaces:
java.io.Serializable

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

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
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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

EngineWrongTaskTemplateException

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

EngineWrongTaskTemplateException

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