> +            propagate(e);
> +         }
> +         try {
> +            Field methodField = null;
> +            while (connectionClass != null) {
> +               try {
> +                  methodField = connectionClass.getDeclaredField("method");
> +               } catch (NoSuchFieldException e) {
> +                  connectionClass = connectionClass.getSuperclass();
> +                  continue;
> +               }
> +               methodField.setAccessible(true);
> +               methodField.set(httpURLConnection, method);
> +               break;
> +            }
> +         } catch (final Exception e) {

Can we catch a less general exception here?

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

Reply via email to