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