mirror of https://github.com/apache/jclouds.git
Add missing argumnet in Exception
This commit is contained in:
parent
dc214f4335
commit
e31dd37f12
|
@ -58,7 +58,7 @@ public class HttpResponseException extends RuntimeException {
|
||||||
|
|
||||||
public HttpResponseException(HttpCommand command, HttpResponse response, String content, Throwable cause) {
|
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()
|
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) {
|
public HttpResponseException(String message, HttpCommand command, @Nullable HttpResponse response) {
|
||||||
|
|
Loading…
Reference in New Issue