Class ExpectedBodyTypeException

All Implemented Interfaces:
Serializable

public class ExpectedBodyTypeException extends RuntimeCamelException
Thrown if the body could not be converted to the required type
See Also:
  • Constructor Details

    • ExpectedBodyTypeException

      public ExpectedBodyTypeException(Exchange exchange, Class<?> expectedBodyType)
  • Method Details

    • getExchange

      public Exchange getExchange()
    • getExpectedBodyType

      public Class<?> getExpectedBodyType()