org.apache.camel
Class CamelExchangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.camel.CamelException
              extended by org.apache.camel.CamelExchangeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AmbiguousMethodCallException, ExchangeTimedOutException, InvalidPayloadException, MethodNotFoundException, NoCorrelationKeyException, NoSuchHeaderException, NoSuchPropertyException, RollbackExchangeException, ValidationException

public class CamelExchangeException
extends CamelException

An exception caused by a specific message Exchange

Version:
$Revision: 17060 $
See Also:
Serialized Form

Constructor Summary
CamelExchangeException(String message, Exchange exchange)
           
CamelExchangeException(String message, Exchange exchange, Throwable cause)
           
 
Method Summary
 Exchange getExchange()
          Returns the exchange which caused the exception
 
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

CamelExchangeException

public CamelExchangeException(String message,
                              Exchange exchange)

CamelExchangeException

public CamelExchangeException(String message,
                              Exchange exchange,
                              Throwable cause)
Method Detail

getExchange

public Exchange getExchange()
Returns the exchange which caused the exception



Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.