akka.camel
Class AkkaCamelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by akka.AkkaException
                  extended by 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
 

Constructor Detail

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)
Method Detail

headers

public scala.collection.immutable.Map<java.lang.String,java.lang.Object> headers()