public class NoSuchElementException extends RuntimeException
Enumeration,
Iterator,
ListIterator,
Enumeration.nextElement(),
Iterator.next(),
ListIterator.previous(),
Serialized Form| Constructor and Description |
|---|
NoSuchElementException()
Constructs a NoSuchElementException with no detail message.
|
NoSuchElementException(String detail)
Constructs a NoSuchElementException with a detail message.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoSuchElementException()
public NoSuchElementException(String detail)
detail - the detail message for the exception