Class PredicateCreator


  • public class PredicateCreator
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<java.util.function.Predicate<java.lang.Throwable>> createExceptionsPredicate​(java.lang.Class<? extends java.lang.Throwable>... recordExceptions)  
      static java.util.Optional<java.util.function.Predicate<java.lang.Throwable>> createNegatedExceptionsPredicate​(java.lang.Class<? extends java.lang.Throwable>... ignoreExceptions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createExceptionsPredicate

        @SafeVarargs
        public static java.util.Optional<java.util.function.Predicate<java.lang.Throwable>> createExceptionsPredicate​(java.lang.Class<? extends java.lang.Throwable>... recordExceptions)
      • createNegatedExceptionsPredicate

        @SafeVarargs
        public static java.util.Optional<java.util.function.Predicate<java.lang.Throwable>> createNegatedExceptionsPredicate​(java.lang.Class<? extends java.lang.Throwable>... ignoreExceptions)