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
An exception thrown if an InOut exchange times out receiving the OUT message
- See Also:
-
Constructor Summary
ConstructorDescriptionExchangeTimedOutException
(Exchange exchange, long timeout) ExchangeTimedOutException
(Exchange exchange, long timeout, String message) -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the timeout which expired in millisecondsMethods 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
-
Constructor Details
-
ExchangeTimedOutException
-
ExchangeTimedOutException
-
-
Method Details
-
getTimeout
public long getTimeout()Return the timeout which expired in milliseconds
-