Add expected_exceptions which could appear during predicate calculation