Add missing argumnet in Exception

This commit is contained in:
Guy Korland 2012-11-19 17:13:49 +02:00
parent 32fc497b6d
commit 405ca5648a
1 changed files with 1 additions and 1 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) {