code: @Override
  	public boolean canRetry(RetryContext context) {
  		Throwable t = context.getLastThrowable();
  		return (t == null || retryForException(t))
  				&& context.getRetryCount() < this.maxAttempts;
  	}
docs: Test for retryable operation based on the status.
  
  @see org.springframework.retry.RetryPolicy#canRetry(org.springframework.retry.RetryContext)
  @return true if the last exception was retryable and the number of attempts so far
  is less than the limit.