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:
$Revision: 630591 $
See Also:
Serialized Form

Constructor Summary
ExchangeTimedOutException(Exchange exchange, long timeout)
           
 
Method Summary
 long getTimeout()
          Return the timeout which expired in milliseconds
 
Methods inherited from class org.apache.camel.CamelExchangeException
createMessage, 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)
Method Detail

getTimeout

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



Copyright © 2009 Apache Software Foundation. All Rights Reserved.