Exception: java.util.NoSuchElementException
- public exception NoSuchElementException
- extends RuntimeException
Thrown by the
nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration.Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- java.util.NoSuchElementException
Methods
-
NoSuchElementExceptiontop
public NoSuchElementException()Constructs aNoSuchElementExceptionwith null as its error message string. -
NoSuchElementExceptiontop
public NoSuchElementException(String s)Constructs aNoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
