code: public void setIgnore(Collection<Class<? extends Throwable>> ignore) {
          FailureInterpreter fi = getFailureInterpreter();
          if (!(fi instanceof DefaultFailureInterpreter)) {
              throw new IllegalStateException("setIgnore() not supported: this CircuitBreaker's FailureInterpreter isn't a DefaultFailureInterpreter.");
          }
  
          @SuppressWarnings("unchecked")
          Class<? extends Throwable>[] classes = new Class[ignore.size()];
          int i = 0;
          for(Class<? extends Throwable> c : ignore) {
              classes[i] = c;
              i++;
          }
          ((DefaultFailureInterpreter)fi).setIgnore(classes);
      }
docs: Specifies a set of {@link Throwable} classes that should not
  be considered failures by the {@link CircuitBreaker}.
  @see DefaultFailureInterpreter
  @param ignore a {@link java.util.Collection} of {@link Throwable}
  classes