> + * Handle errors and propagate exception
> + */
> +public class EtcdErrorHandler implements HttpErrorHandler {
> +   @Resource
> +   protected Logger logger = Logger.NULL;
> +
> +   public void handleError(HttpCommand command, HttpResponse response) {
> +
> +      String message = parseMessage(response);
> +      Exception exception = null;
> +      try {
> +         
> +         message = message != null ? message : String.format("%s -> %s", 
> command.getCurrentRequest().getRequestLine(), response.getStatusLine());
> +         exception = new HttpResponseException(message, command, response);
> +
> +      } catch (Exception e) {

That is true but it's just a place holder for now. I can remove it but the code 
will get put back in a couple commits from now so I thought to just leave this 
bare minimum for now.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/194/files#r35638012

Reply via email to