Class InvalidPayloadRuntimeException

All Implemented Interfaces:
Serializable

public class InvalidPayloadRuntimeException extends RuntimeExchangeException
Runtime version of the InvalidPayloadException.
See Also:
  • Constructor Details

    • InvalidPayloadRuntimeException

      public InvalidPayloadRuntimeException(Exchange exchange, Class<?> type)
    • InvalidPayloadRuntimeException

      public InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Throwable cause)
    • InvalidPayloadRuntimeException

      public InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Message message)
    • InvalidPayloadRuntimeException

      public InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Message message, Throwable cause)
  • Method Details

    • getType

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