How to Retry Java Method Call on Exception

If you have a method that fails occasionally and
you want to retry it a few times before
throwing
an exception. @RetryOnFailure from
jcabi-aspects can help.
For example, if you're downloading the following web page: