org.apache.commons.httpclient
Class HttpRecoverableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.apache.commons.httpclient.HttpRecoverableException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HttpTimeoutException

public class HttpRecoverableException
extends java.io.IOException

Signals that an HTTP or HttpClient exception has occurred. This exception may have been caused by a transient error and the request may be retried. It may be possible to retrieve the underlying transient error via the inherited HttpException.getCause() method.

Version:
$Revision: 1.13 $ $Date: 2004/04/18 23:51:35 $
Author:
Unascribed
See Also:
Serialized Form

Constructor Summary
HttpRecoverableException()
          Creates a new HttpRecoverableException with a null detail message.
HttpRecoverableException(java.lang.String message)
          Creates a new HttpRecoverableException with the specified detail message.
HttpRecoverableException(java.lang.String message, java.lang.Throwable cause)
          Creates a new HttpRecoverableException with the specified detail message and cause.
 
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

HttpRecoverableException

public HttpRecoverableException()
Creates a new HttpRecoverableException with a null detail message.


HttpRecoverableException

public HttpRecoverableException(java.lang.String message)
Creates a new HttpRecoverableException with the specified detail message.

Parameters:
message - exception message

HttpRecoverableException

public HttpRecoverableException(java.lang.String message,
                                java.lang.Throwable cause)
Creates a new HttpRecoverableException with the specified detail message and cause.

Parameters:
message - the exception detail message
cause - the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.