> +               exception = new AuthorizationException(message, exception);
> +               break;
> +            case 402:
> +               exception = new IllegalStateException(message, exception);
> +               break;
> +            case 404:
> +               if 
> (!command.getCurrentRequest().getMethod().equals("DELETE")) {
> +                  exception = new ResourceNotFoundException(message, 
> exception);
> +               }
> +               break;
> +            case 405:
> +               exception = new IllegalArgumentException(message, exception);
> +               break;
> +            case 409:
> +               exception = new IllegalStateException(message, exception);
> +               break;

Good point and yes it would

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

Reply via email to