code: public void registerThrowable(RetryContext context, Throwable throwable) {
  		RetryPolicy policy = (RetryPolicy) context;
  		policy.registerThrowable(context, throwable);
  		((RetryContextSupport) context).registerThrowable(throwable);
  	}
docs: Delegate to the policy currently activated in the context.
  
  @see org.springframework.retry.RetryPolicy#registerThrowable(org.springframework.retry.RetryContext,
  Throwable)