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 InvalidTypeException.

Version:
$Revision: 659422 $
See Also:
Serialized Form

Constructor Summary
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type)
           
 
Method Summary
 Class<?> getType()
          The expected type of the body
 
Methods inherited from class org.apache.camel.RuntimeExchangeException
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)
Method Detail

getType

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



Copyright © 2009 Apache Software Foundation. All Rights Reserved.