org.apache.camel
Class InvalidPayloadRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.RuntimeCamelException
                  extended by org.apache.camel.RuntimeExchangeException
                      extended by org.apache.camel.InvalidPayloadRuntimeException
All Implemented Interfaces:
Serializable

public class InvalidPayloadRuntimeException
extends RuntimeExchangeException

Runtime version of the InvalidPayloadException.

Version:
See Also:
Serialized Form

Constructor Summary
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type)
           
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Message message)
           
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Message message, Throwable cause)
           
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Throwable cause)
           
 
Method Summary
 Class<?> getType()
          The expected type of the body
 
Methods inherited from class org.apache.camel.RuntimeExchangeException
createMessage, getExchange
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidPayloadRuntimeException

public InvalidPayloadRuntimeException(Exchange exchange,
                                      Class<?> type)

InvalidPayloadRuntimeException

public InvalidPayloadRuntimeException(Exchange exchange,
                                      Class<?> type,
                                      Throwable cause)

InvalidPayloadRuntimeException

public InvalidPayloadRuntimeException(Exchange exchange,
                                      Class<?> type,
                                      Message message)

InvalidPayloadRuntimeException

public InvalidPayloadRuntimeException(Exchange exchange,
                                      Class<?> type,
                                      Message message,
                                      Throwable cause)
Method Detail

getType

public Class<?> getType()
The expected type of the body



Apache CAMEL