code: @SafeVarargs
      public final Builder abortOn(Class<? extends Exception>... exceptions) {
        for (Class<? extends Exception> exception : exceptions) {
          nonRetriableExceptions.add(checkNotNull(exception));
        }
        return this;
      }
docs: Adds the exceptions to abort on.
  
  @param exceptions retry should abort when such exceptions are thrown
  @return the Builder for chaining