public class InvalidPayloadException extends CamelExchangeException
Constructor and Description |
---|
InvalidPayloadException(Exchange exchange,
Class<?> type) |
InvalidPayloadException(Exchange exchange,
Class<?> type,
Message message) |
InvalidPayloadException(Exchange exchange,
Class<?> type,
Message message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getType()
The expected type of the body
|
createExceptionMessage, getExchange
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPayloadException(Exchange exchange, Class<?> type)
public InvalidPayloadException(Exchange exchange, Class<?> type, Message message)
public InvalidPayloadException(Exchange exchange, Class<?> type, Message message, Throwable cause)
Apache Camel