com.ibm.bpe.api
Class EngineWrongTaskTemplateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.bpe.api.ProcessException
-
- 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
Fields Modifier and Type Field and Description static java.lang.StringCOPYRIGHT
-
Constructor Summary
Constructors Modifier Constructor and Description EngineWrongTaskTemplateException(java.lang.Object[] vars)Constructor.EngineWrongTaskTemplateException(java.lang.Object[] vars, java.lang.Throwable cause)Constructor.protectedEngineWrongTaskTemplateException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)Constructor for subclasses only.protectedEngineWrongTaskTemplateException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)Constructor for subclasses only.
-
Method Summary
-
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
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- SeeEngineWrongTaskTemplateException(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.
-
EngineWrongTaskTemplateException
protected EngineWrongTaskTemplateException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.- Parameters:
key- The message key.vars- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id- The message identifier.cause- The exception that was thrown.
-
EngineWrongTaskTemplateException
protected EngineWrongTaskTemplateException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.- Parameters:
catalog- The catalog which have to be used to retrieve the message.key- The message key.vars- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id- The message identifier.cause- The exception that was thrown.
-
-