org.apache.commons.httpclient

Class HttpRecoverableException

Implemented Interfaces:
Serializable

public class HttpRecoverableException
extends HttpException

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

Constructor Summary

HttpRecoverableException()
Creates a new HttpRecoverableException with a null detail message.
HttpRecoverableException(String message)
Creates a new HttpRecoverableException with the specified detail message.

Method Summary

Methods inherited from class org.apache.commons.httpclient.HttpException

getCause, getReason, getReasonCode, printStackTrace, printStackTrace, printStackTrace, setReason, setReasonCode

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

HttpRecoverableException

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

HttpRecoverableException

public HttpRecoverableException(String message)
Creates a new HttpRecoverableException with the specified detail message.
Parameters:
message - exception message