Class NoSuchPropertyException

All Implemented Interfaces:
Serializable

public class NoSuchPropertyException extends CamelExchangeException
An exception caused when a mandatory property is not available on a message Exchange
See Also:
  • org.apache.camel.support.ExchangeHelper#getMandatoryProperty(Exchange, String, Class)
  • Serialized Form
  • Constructor Details

    • NoSuchPropertyException

      public NoSuchPropertyException(Exchange exchange, String propertyName, Class<?> type)
  • Method Details

    • getPropertyName

      public String getPropertyName()
    • getType

      public Class<?> getType()
    • reason

      protected static String reason(Exchange exchange, String propertyName)