code: @SuppressWarnings({ "rawtypes" })
    public RetryPolicy<R> abortOn(Class<? extends Throwable> failure) {
      Assert.notNull(failure, "failure");
      return abortOn(Arrays.asList(failure));
    }
docs: Specifies when retries should be aborted. Any failure that is assignable from the {@code failure} will be result in
  retries being aborted.
  
  @throws NullPointerException if {@code failure} is null