Example usage for Java java.util NoSuchElementException fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
Throwable | getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns the detail message string of this throwable. |
Throwable | initCause(Throwable cause) Initializes the cause of this throwable to the specified value. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
void | printStackTrace(PrintStream s) Prints this throwable and its backtrace to the specified print stream. |
String | toString() Returns a short description of this throwable. |