Package org.awaitility.core
Class HamcrestExceptionIgnorer
- java.lang.Object
-
- org.awaitility.core.HamcrestExceptionIgnorer
-
- All Implemented Interfaces:
ExceptionIgnorer
public class HamcrestExceptionIgnorer extends java.lang.Object implements ExceptionIgnorer
-
-
Field Summary
Fields Modifier and Type Field Description private org.hamcrest.Matcher<? super java.lang.Throwable>matcher
-
Constructor Summary
Constructors Constructor Description HamcrestExceptionIgnorer(org.hamcrest.Matcher<? super java.lang.Throwable> matcher)
-
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
-
-