Add missing argumnet in Exception

This commit is contained in:
Guy Korland 2012-11-19 17:13:49 +02:00 committed by Adrian Cole
parent dc214f4335
commit e31dd37f12
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ public class HttpResponseException extends RuntimeException {
public HttpResponseException(HttpCommand command, HttpResponse response, String content, Throwable cause) {
this(String.format("command: %1$s failed with response: %2$s; content: [%3$s]", command.getCurrentRequest()
.getRequestLine(), response.getStatusLine()), command, response, content, cause);
.getRequestLine(), response.getStatusLine(), content), command, response, content, cause);
}
public HttpResponseException(String message, HttpCommand command, @Nullable HttpResponse response) {