Add expected_exceptions which could appear during predicate calculation

Actually, assuming you force expected_exceptions to be a tuple, you can just `except expected_exceptions:` here...