public class NoSuchElementException extends RuntimeException
| Constructor and Description |
|---|
NoSuchElementException()
Constructs a NoSuchElementException with null as its error message string.
|
NoSuchElementException(String s)
Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic NoSuchElementException()
public NoSuchElementException(String s)