com.oaklandsw.http
Class AutomaticHttpRetryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.oaklandsw.http.HttpException
                  extended bycom.oaklandsw.http.AutomaticHttpRetryException
All Implemented Interfaces:
java.io.Serializable

public class AutomaticHttpRetryException
extends HttpException

Used to tell the user that a failure occurred in processing connection, but that it will be automatically retried.

This situation can occur in the pipelined connection handling when a user is reading the response and the underlying connection closes. If this is thrown, the HttpURLConnection will be automatically retried. Thus the user should discard the processing for that HttpURLConnection as the callback will be called again.

See Also:
Serialized Form

Constructor Summary
AutomaticHttpRetryException(java.lang.String message)
           
 
Methods inherited from class com.oaklandsw.http.HttpException
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutomaticHttpRetryException

public AutomaticHttpRetryException(java.lang.String message)


Copyright © 2002-2007 Oakland Software Incorporated. All Rights Reserved.