A Groovy way to retry method calls in case of exceptions
In some scenarios, method calls can fail - but would succeed when retrying the call after some seconds have passed. That is often the case with remote method calls, where the remote application could be temporarily unavaillable. I needed a simple way to define something like "call method foo(). I