Reputation: 13108
Do they mean checked exception with "exception exceptions" right?
Quoting from this oracle java tutorial:
Note that if there is an exception during directory iteration then DirectoryIteratorException is thrown with the IOException as the cause. Iterator methods cannot throw exception exceptions.
Upvotes: 2
Views: 62
Reputation: 77187
That would be correct; since the methods defined on Iterator
do not throw any checked exceptions, iterator implementations can't either. File that bug report!
Upvotes: 2