akka.camel
Class AkkaCamelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
akka.AkkaException
akka.camel.AkkaCamelException
- All Implemented Interfaces:
- java.io.Serializable
public class AkkaCamelException
- extends AkkaException
An exception indicating that the exchange to the camel endpoint failed.
It contains the failure cause obtained from Exchange.getException and the headers from either the Exchange.getIn
message or Exchange.getOut message, depending on the exchange pattern.
- See Also:
- Serialized Form
Constructor Summary |
AkkaCamelException(java.lang.Throwable cause)
|
AkkaCamelException(java.lang.Throwable cause,
scala.collection.immutable.Map<java.lang.String,java.lang.Object> headers)
|
Method Summary |
scala.collection.immutable.Map<java.lang.String,java.lang.Object> |
headers()
|
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 |
AkkaCamelException
public AkkaCamelException(java.lang.Throwable cause,
scala.collection.immutable.Map<java.lang.String,java.lang.Object> headers)
AkkaCamelException
public AkkaCamelException(java.lang.Throwable cause)
headers
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> headers()