org.apache.servicemix.http.exception
Class LateResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.servicemix.http.exception.LateResponseException
All Implemented Interfaces:
java.io.Serializable

public class LateResponseException
extends java.lang.Exception

Exception to indicate that a late response has been received from the ESB, i.e. the ESB response was received after the HTTP connection has timed out so we were unable to send back the response to the client.

See Also:
Serialized Form

Constructor Summary
LateResponseException(javax.jbi.messaging.MessageExchange exchange)
           
 
Method Summary
static java.lang.String createMessage(javax.jbi.messaging.MessageExchange exchange)
          Helper method to create the late response error message
 
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

LateResponseException

public LateResponseException(javax.jbi.messaging.MessageExchange exchange)
Method Detail

createMessage

public static java.lang.String createMessage(javax.jbi.messaging.MessageExchange exchange)
Helper method to create the late response error message

Parameters:
exchange - the exchange we received a late response for
Returns:
the error message


Copyright © 2005-2012 FuseSource. All Rights Reserved.