public class java.util
NoSuchElementException


Hide details Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException
Extended by: InputMismatchException

Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
version1.22, 11/17/05
sinceJDK1.0
See also java.util.Enumeration, nextElement()

Constructors
public NoSuchElementException()
Constructs a NoSuchElementException with null as its error message string.
public NoSuchElementException(String s)
Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
sthe detail message.