org.apache.camel
Class InvalidPayloadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.InvalidPayloadException
- All Implemented Interfaces:
- Serializable
public class InvalidPayloadException
- extends CamelExchangeException
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
Method Summary |
Class<?> |
getType()
The expected type of the body |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidPayloadException
public InvalidPayloadException(Exchange exchange,
Class<?> type)
getType
public Class<?> getType()
- The expected type of the body
Copyright © 2007 Apache Software Foundation. All Rights Reserved.