org.apache.camel
Class CamelExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.RuntimeCamelException
                  extended by org.apache.camel.RuntimeExchangeException
                      extended by org.apache.camel.CamelExecutionException
All Implemented Interfaces:
Serializable

public class CamelExecutionException
extends RuntimeExchangeException

Exception occurred during execution/processing of an Exchange.

Is usually thrown to the caller when using the ProducerTemplate to send messages to Camel.

Version:
See Also:
Serialized Form

Constructor Summary
CamelExecutionException(String message, Exchange exchange)
           
CamelExecutionException(String message, Exchange exchange, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.apache.camel.RuntimeExchangeException
createMessage, getExchange
 
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

CamelExecutionException

public CamelExecutionException(String message,
                               Exchange exchange)

CamelExecutionException

public CamelExecutionException(String message,
                               Exchange exchange,
                               Throwable cause)


Apache CAMEL