Exception: java.util.NoSuchElementException

Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
Authors:
@author unascribed
See:
@see java.util.Enumeration
@see java.util.Enumeration.nextElement()
Version:
@version 1.21, 12/19/03
Since:
@since JDK1.0

Inheritance

Superclass tree: Implements:

Methods

  • NoSuchElementExceptiontop

    public NoSuchElementException()
    Constructs a NoSuchElementException with null as its error message string.
    Google Code Search
    Stack Overflow
  • NoSuchElementExceptiontop

    public NoSuchElementException(String s)
    Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
    Parameters:
    @param s the detail message.
    Google Code Search
    Stack Overflow