googleapis / googleapis/google-http-java-client

HttpIOExceptionHandler.handleIOException should include the originating exception

Đang mở
#251 4 bình luận 3 reaction 0 người được giao Xem trên GitHub
type: feature request
Ngôn ngữ chính
Java
Star
1.4k
Fork
473
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

_From [chris.va...@laterooms.com](https://code.google.com/u/106844739079589814512/) on December 05, 2013 05:27:18_

External references, such as a standards document, or specification?
N/A

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?
All

Please describe the feature requested.
HttpIOExceptionHandler.handleIOException(HttpRequest, boolean) doesn't allow inspection of the originating exception. In certain scenarios it might be useful to do this.

e.g. I'm using an HttpIOExceptionHandler to force a retry in the case of this bug on Android: https://code.google.com/p/google-http-java-client/issues/detail?id=213 However, since I can't tell the type of exception thrown I'm having to retry regardless of the particular type of error.

_Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=251_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.