org.apache.camel
Class InvalidPayloadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.camel.CamelException
              extended by org.apache.camel.CamelExchangeException
                  extended by org.apache.camel.InvalidPayloadException
All Implemented Interfaces:
Serializable

public class InvalidPayloadException
extends CamelExchangeException

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

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

InvalidPayloadException

public InvalidPayloadException(Exchange exchange,
                               Class<?> type)
Method Detail

getType

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



Copyright © 2007 Apache Software Foundation. All Rights Reserved.