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 Detail

      • NoSuchPropertyException

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

      • getPropertyName

        public String getPropertyName()
      • getType

        public Class<?> getType()