@ SafeVarargs public final Builder abortOn ( Class < ? extends Exception > ... exceptions ) { for ( Class < ? extends Exception > exception : exceptions ) { nonRetriableExceptions . add ( checkNotNull ( exception ) ) ; } return this ; }
Adds the exceptions to abort on .