com.ibm.bpe.api

Class InvalidMessagePartTypeException

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

  1. public class InvalidMessagePartTypeException
  2. extends ProcessException
Exception class for error message Api.InvalidMessagePartType.
Thrown when: When an incoming message was evaluated to extract property values for correlation, a message part was found with a type that is not valid. If a query expression is not specified, then the part type must match the type definition in the property alias. If a query expression is specified, then the part must be of type commonj.sdo.DataObject.
User action: Check nested exceptions and make sure that the type of the part in the incoming message is correct.
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
InvalidMessagePartTypeException(java.lang.Object[] vars)
Constructor.
InvalidMessagePartTypeException(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

InvalidMessagePartTypeException

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

InvalidMessagePartTypeException

  1. public InvalidMessagePartTypeException( java.lang.Object[] vars,
  2. java.lang.Throwable cause)
Constructor.
Parameters:
vars - An array with 2 substitution variables for CWWBA0136E: Part ''{0}'' of the incoming message is not of type ''{1}''
{0} the name of the message part
{1} the expected part type name
cause - The exception that was thrown.