public class NoSuchElementException extends RuntimeException
Enumeration
,
Iterator
,
ListIterator
,
Enumeration.nextElement()
,
Iterator.next()
,
ListIterator.previous()
,
Serialized FormConstructor 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, toString
public NoSuchElementException()
public NoSuchElementException(String detail)
detail
- the detail message for the exception