org.apache.camel
Class CamelExchangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AmbiguousMethodCallException, InvalidPayloadException, InvalidTypeException, NoSuchPropertyException, ValidationException
public class CamelExchangeException
- extends CamelException
An exception caused by a specific message
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CamelExchangeException
public CamelExchangeException(String message,
Exchange exchange)
getExchange
public Exchange getExchange()
- Returns the exchange which caused the exception
- Returns:
- the exchange which caused the exception
Copyright © 2007 Apache Software Foundation. All Rights Reserved.