Searched refs:ThrowingIterator (Results 1 – 1 of 1) sorted by relevance
260 return new ThrowingIterator<Integer>(new IllegalStateException()); in testUnexpectedException()326 private static final class ThrowingIterator<E> implements Iterator<E> { class in IteratorTesterTest329 private ThrowingIterator(RuntimeException ex) { in ThrowingIterator() method in IteratorTesterTest.ThrowingIterator