org.apache.camel
Class ExchangeTimedOutException

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
                  extended by 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:
See Also:
Serialized Form

Constructor Summary
ExchangeTimedOutException(Exchange exchange, long timeout)
           
ExchangeTimedOutException(Exchange exchange, long timeout, String message)
           
 
Method Summary
 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
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

ExchangeTimedOutException

public ExchangeTimedOutException(Exchange exchange,
                                 long timeout)

ExchangeTimedOutException

public ExchangeTimedOutException(Exchange exchange,
                                 long timeout,
                                 String message)
Method Detail

getTimeout

public long getTimeout()
Return the timeout which expired in milliseconds



Apache CAMEL