Package 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- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExchangeTimedOutException(Exchange exchange, long timeout)
ExchangeTimedOutException(Exchange exchange, long timeout, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimeout()
Return the timeout which expired in milliseconds-
Methods inherited from class org.apache.camel.CamelExchangeException
createExceptionMessage, getExchange
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-