| java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.net.HttpRetryException
HttpRetryException | public class HttpRetryException extends IOException (Code) | | The exception to be thrown when a request cannot be retried.
|
HttpRetryException | public HttpRetryException(String detail, int code)(Code) | | new a HttpRetryException by given detail message and responseCode
Parameters: detail - detail for this exception Parameters: code - http response code to return |
HttpRetryException | public HttpRetryException(String detail, int code, String location)(Code) | | new a HttpRetryException by given detail message, responseCode and the
Location response header
Parameters: detail - detail for this exception Parameters: code - http response code to return Parameters: location - the error resulted from redirection, the Location header canbe recorded |
getLocation | public String getLocation()(Code) | | the Location header recorded |
getReason | public String getReason()(Code) | | the detail reason for this exception |
responseCode | public int responseCode()(Code) | | a http response code |
|
|