org.apache.camel
public class: CamelExchangeException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoSuchPropertyException, AmbiguousMethodCallException, NoSuchHeaderException, NoCorrelationKeyException, ExchangeTimedOutException, ValidationException, NoXmlBodyValidationException, SchemaValidationException, InvalidTypeException, RollbackExchangeException, InvalidPayloadException
An exception caused by a specific message
Exchange - version:
$
- Revision: 642753 $
Methods from java.lang.Throwable: |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.camel.CamelExchangeException Detail: |
protected static String createMessage(String message,
Exchange exchange) {
return message + " on the exchange: " + exchange;
}
|
public Exchange getExchange() {
return exchange;
}
Returns the exchange which caused the exception |