com.ibm.bpe.api
Class InvalidMessageTypeException

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

public class InvalidMessageTypeException
extends ProcessException

Exception class for error message Api.InvalidMessageType.
Thrown when: When a message was evaluated to extract property values for correlation, it had the wrong type.
User action: Make sure that the message has the correct type.

Since:
6.0
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
InvalidMessageTypeException(java.lang.Object[] vars)
          Constructor.
InvalidMessageTypeException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class com.ibm.bpe.api.ProcessException
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

InvalidMessageTypeException

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

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

InvalidMessageTypeException

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

Parameters:
vars - An array with 3 substitution variables for CWWBA0139E: Expected type ''{0}'' and found type ''{1}'' for message ''{2}''
{0} the expected type
{1} the type actually found
{2} the message
cause - The exception that was thrown.