Skip to content

Commit

Permalink
s/ResponseException/IllegalResponseException
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapsi committed Sep 5, 2011
1 parent 4e26696 commit b2bf770
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -269,7 +269,7 @@ public void handleIllegalResponse(RequestEntity entity,
*/
protected void processIllegalResponse(RequestEntity entity,
ResponseMessage response, long time, TimeUnit unit) throws IOException {
setException(new ResponseException(entity, response, time, unit));
setException(new IllegalResponseException(entity, response, time, unit));
}

@Override
Expand All @@ -292,7 +292,7 @@ protected void processException(RequestEntity entity, Throwable exception) {
setException(new UnhandledException(entity, exception));
}

public static class ResponseException extends IOException {
public static class IllegalResponseException extends IOException {

private static final long serialVersionUID = -966684138962375899L;

Expand All @@ -304,7 +304,7 @@ public static class ResponseException extends IOException {

private final TimeUnit unit;

protected ResponseException(RequestEntity entity,
protected IllegalResponseException(RequestEntity entity,
ResponseMessage response, long time, TimeUnit unit) {

this.entity = entity;
Expand Down

0 comments on commit b2bf770

Please sign in to comment.