awaitility/src/main/java/org/awaitility/Awaitility.java
public static void ignoreExceptionByDefault(final Class<? extends Throwable> exceptionType) {
        defaultExceptionIgnorer = new PredicateExceptionIgnorer(new Predicate<Throwable>() {
            public boolean matches(Throwable e) {
                return e.getClass().equals(exceptionType);
            }
        });
    }
public static void ignoreExceptionByDefault(final Class<? extends Throwable> exceptionType) {
        defaultExceptionIgnorer = new PredicateExceptionIgnorer(new Predicate<Throwable>() {
            public boolean matches(Throwable e) {
                return e.getClass().equals(exceptionType);
            }
        });
    }
Instruct Awaitility to ignore caught exception of the given type during condition evaluation.
Exceptions will be treated as evaluating to <code>false</code>. Your test will not fail
upon an exception matching the supplied exception type, unless it times out.