org.apache.camel
Class RuntimeExchangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.RuntimeExchangeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CamelExecutionException, InvalidPayloadRuntimeException
public class RuntimeExchangeException
- extends RuntimeCamelException
A runtime exception caused by a specific message Exchange
- Version:
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuntimeExchangeException
public RuntimeExchangeException(java.lang.String message,
Exchange exchange)
RuntimeExchangeException
public RuntimeExchangeException(java.lang.String message,
Exchange exchange,
java.lang.Throwable cause)
getExchange
public Exchange getExchange()
- Returns the exchange which caused the exception
Can be null
createMessage
protected static java.lang.String createMessage(java.lang.String message,
Exchange exchange)
Apache CAMEL