Allow predicates to throw checked exceptions