public interface CloseableIterator<E>
A CloseableIterator is a subclass of Iterator that adds support for
allowing the underlying implementation to serve up the elements as
they become available.
The methods hasNext() and next() may block while waiting for elements
from the underlying implementation.
Since next() or hasNext() can only throw RunTime exceptions, if
a consumer receives a runtime exception for one of these methods
they must call getWBEMException() to get the actual WBEMException.