org.apache.camel
Class ExchangeTimedOutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.ExchangeTimedOutException
- All Implemented Interfaces:
- Serializable
public class ExchangeTimedOutException
- extends CamelExchangeException
An exception thrown if an InOut exchange times out receiving the OUT message
- Version:
- $Revision: 630591 $
- See Also:
- Serialized Form
Method Summary |
long |
getTimeout()
Return the timeout which expired in milliseconds |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExchangeTimedOutException
public ExchangeTimedOutException(Exchange exchange,
long timeout)
getTimeout
public long getTimeout()
- Return the timeout which expired in milliseconds
Apache CAMEL