@Deprecated public class InvalidPayloadException extends CamelExchangeException
Constructor and Description |
---|
InvalidPayloadException(Exchange exchange,
Class<?> type)
Deprecated.
|
InvalidPayloadException(Exchange exchange,
Class<?> type,
Message message)
Deprecated.
|
InvalidPayloadException(Exchange exchange,
Class<?> type,
Message message,
Throwable cause)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getType()
Deprecated.
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 Class<?> getType()
Apache Camel