An Iterator that wraps another Iterator with protection for
exceptions during iteration. If an exception occurs while calling
hasNext or next, the provided exception handler will be
called, and the ExceptionGuardedIterator will act as if it is
now empty.
Construction using the companion object will also handle exceptions
produced when getting the initial wrapped Iterator.
Linear Supertypes
Iterator[T], TraversableOnce[T], GenTraversableOnce[T], AnyRef, Any
An Iterator that wraps another Iterator with protection for exceptions during iteration. If an exception occurs while calling hasNext or next, the provided exception handler will be called, and the ExceptionGuardedIterator will act as if it is now empty.
Construction using the companion object will also handle exceptions produced when getting the initial wrapped Iterator.