public class NoSuchElementException extends RuntimeException
| Constructor and Description |
|---|
NoSuchElementException()
Constructs a new
NoSuchElementException with the current stack
trace filled in. |
NoSuchElementException(String detailMessage)
Constructs a new
NoSuchElementException with the current stack
trace and message filled in. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoSuchElementException()
NoSuchElementException with the current stack
trace filled in.public NoSuchElementException(String detailMessage)
NoSuchElementException with the current stack
trace and message filled in.detailMessage - the detail message for the exception.