com.ibm.task.api
Class MessageDefinitionDoesNotMatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.task.api.TaskException
              extended by com.ibm.task.api.MessageDefinitionDoesNotMatchException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FaultMessageDefinitionDoesNotMatchException, OutputMessageDefinitionDoesNotMatchException

public class MessageDefinitionDoesNotMatchException
extends TaskException

Exception class for error message Api.MessageDefinitionDoesNotMatch.
Thrown when: The message definitions of the predecessor and follow-on tasks must match.
User action: Check the message definitions of the predecessor and follow-on task.

Since:
6.0.2
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
MessageDefinitionDoesNotMatchException(java.lang.Object[] vars)
          Constructor.
MessageDefinitionDoesNotMatchException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 
Methods inherited from class com.ibm.task.api.TaskException
getCause, getMessage, getMessage, getMessageID, 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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

MessageDefinitionDoesNotMatchException

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

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

MessageDefinitionDoesNotMatchException

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

Parameters:
vars - An array with 2 substitution variables for CWTKA0079E: The message definition of the predecessor task ''{0}'' does not match the message definition of the follow-on task ''{1}''.
{0} is the predecessor task name.
{1} is the follow-on task name.
cause - The exception that was thrown.