Class NoSuchPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.NoSuchPropertyException
- All Implemented Interfaces:
Serializable
Thrown when a mandatory exchange property is not available on an
when a processor or EIP requires a specific property to be present.
Exchange.
Typically raised by
invalid reference
org.apache.camel.support.ExchangeHelper#getMandatoryProperty(Exchange, String, Class)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoSuchPropertyException(Exchange exchange, String propertyName) NoSuchPropertyException(Exchange exchange, String propertyName, @Nullable Class<?> type) -
Method Summary
Methods inherited from class CamelExchangeException
createExceptionMessage, getExchangeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchPropertyException
-
NoSuchPropertyException
-
-
Method Details
-
getPropertyName
-
getType
-
reason
-