Java java.util NoSuchElementException fields, constructors, methods, implement or subclass

Example usage for Java java.util NoSuchElementException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util NoSuchElementException.

The text is from its open source code.

Subclass

java.util.NoSuchElementException has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

ThrowablegetCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
ThrowableinitCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
StringtoString()
Returns a short description of this throwable.