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 message
Exchange
- Version:
- $Revision: 775486 $
- See Also:
ExchangeHelper.getMandatoryProperty(Exchange, String, Class)
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchPropertyException
public NoSuchPropertyException(Exchange exchange,
String propertyName,
Class<?> type)
getPropertyName
public String getPropertyName()
getType
public Class<?> getType()
reason
protected static String reason(Exchange exchange,
String propertyName)
Apache CAMEL