Package org.apache.camel
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
public class NoSuchPropertyException extends CamelExchangeException
An exception caused when a mandatory property is not available on a messageExchange
- See Also:
org.apache.camel.support.ExchangeHelper#getMandatoryProperty(Exchange, String, Class)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchPropertyException(Exchange exchange, String propertyName, Class<?> type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyName()
Class<?>
getType()
protected static String
reason(Exchange exchange, String propertyName)
-
Methods inherited from class org.apache.camel.CamelExchangeException
createExceptionMessage, getExchange
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-