docs: public RetryPolicy<R> abortOn(List<Class<? extends Throwable>> failures) {
      Assert.notNull(failures, "failures");
      Assert.isTrue(!failures.isEmpty(), "failures cannot be empty");
      abortConditions.add(failurePredicateFor(failures));
      return this;
    }