Example of possible problem in catching exception in iterators.