/** * Gets a Predicate that always throws an exception. * This could be useful during testing as a placeholder. * * @param <T> the type that the predicate queries * @return the predicate * @see ExceptionPredicate */ public static <T> Predicate<T> exceptionPredicate() { return ExceptionPredicate.exceptionPredicate(); }