public interface Sequence
The main purpose of this interface is to act as standard
documentation for a
next method where it is provided.
boolean next() throws java.lang.Exception
This method is declared to throw an untyped exception. Subinterfaces are encouraged to override this method restricting the exception type or throwing no exception.
java.lang.Exception - if there is some failure