Package org.awaitility.core
Class PredicateExceptionIgnorer
- java.lang.Object
-
- org.awaitility.core.PredicateExceptionIgnorer
-
- All Implemented Interfaces:
ExceptionIgnorer
public class PredicateExceptionIgnorer extends java.lang.Object implements ExceptionIgnorer
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Predicate<? super java.lang.Throwable>predicate
-
Constructor Summary
Constructors Constructor Description PredicateExceptionIgnorer(java.util.function.Predicate<? super java.lang.Throwable> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldIgnoreException(java.lang.Throwable exception)
-
-
-
Method Detail
-
shouldIgnoreException
public boolean shouldIgnoreException(java.lang.Throwable exception)
- Specified by:
shouldIgnoreExceptionin interfaceExceptionIgnorer
-
-