code: protected <T> T finalAttemptFailed(final Retryable<T> operation, final int attempt, final Throwable e) throws Exception
  	{
  		log.error("Final attempt #" + attempt + " of " + operation + " failed.", e);
  
  		if (e instanceof Exception)
  			throw (Exception) e;
  		else if (e instanceof Error)
  			throw (Error) e;
  		else
  			throw new RuntimeException(e);
  	}
docs: Called when the final attempt at a retryable operation failed
  <p/>
  Allows extending classes to customise behaviour or throw custom exceptions
  
  @param operation
  - the operation being attempted
  @param attempt
  - the attempt number that failed
  @param e
  - the exception thrown when the operation failed
  
  @throws Exception