>      * @throws UnsupportedOperationException
>      *            if the underlying provider doesn't support suspend/resume
>      * @throws NoSuchElementException
>      *            if no nodes matched the predicate specified
> +    * @throws TransformParallelException

I agree with @demobox that it's an impl detail but it is behaviour. 
TransformParallelException isn't actually being thrown here, it's just being 
documented. catch-and-rethrow inside the implementation doesn't seem 
appropriate because TransformParallelException is really just a collection of 
Exceptions. Sure you could catch-and-rethrow but you wouldn't be adding 
anything of value by doing that.

@demobox If this is how this method behaves, why wouldn't we want to document 
it as such?



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

Reply via email to