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); }
Object->Throwable(Serializable)->Exception->RuntimeException->NoSuchElementException