java.util.NoSuchElementException (JDK 1.0)

Signals that there are no elements in an object (such as a Vector) or that there are no more elements in an object (such as an Enumeration).

public class NoSuchElementException extends RuntimeException {
 // Public Constructors public NoSuchElementException();
public NoSuchElementException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException->NoSuchElementException