Package 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:
Serializable
- Direct Known Subclasses:
CamelExecutionException,InvalidPayloadRuntimeException
public class RuntimeExchangeException extends RuntimeCamelException
A runtime exception caused by a specific messageExchange- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuntimeExchangeException(String message, Exchange exchange)RuntimeExchangeException(String message, Exchange exchange, Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static StringcreateMessage(String message, Exchange exchange)ExchangegetExchange()Returns the exchange which caused the exception-
Methods inherited from class org.apache.camel.RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-