> + this.error = checkNotNull(error, "error");
> + }
> +
> + public GlacierResponseException(HttpCommand command, HttpResponse
> response, GlacierError error, Throwable cause) {
> + super("request " + command.getCurrentRequest().getRequestLine() + "
> failed with code " + response.getStatusCode()
> + + ", error: " + error.toString(), command, response, cause);
> + this.error = checkNotNull(error, "error");
> + }
> +
> + public GlacierResponseException(HttpCommand command, HttpResponse
> response, GlacierError error) {
> + this(command, response, error, null);
> + }
> +
> + public GlacierResponseException(String message, HttpCommand command,
> HttpResponse response, GlacierError error) {
> + this(message, command, response, error, null);
> + }
I haven't checked in the rest of the code, but how many of these constructors
are we actually using? If not all of them, remove those that are unused until
their are required?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r13034653