> +import org.jclouds.http.HttpResponseException;
> +
> +/**
> + * Encapsulates a GlacierError.
> + *
> + * @author Roman Coedo
> + */
> +public class GlacierResponseException extends HttpResponseException {
> +
> + private static final long serialVersionUID = 1L;
> + private final GlacierError error;
> +
> + public GlacierResponseException(String message, HttpCommand command,
> HttpResponse response, GlacierError error,
> + Throwable cause) {
> + super(message, command, response, cause);
> + this.error = checkNotNull(error);
[minor] In general, we use the form `checkNotNull(error, "error")`.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r12842832