Thursday 14 March 2013

java.util NoSuchElementException


java.util
NoSuchElementException

Declaration
public class NoSuchElementException extends java.lang.RuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.util.NoSuchElementException
Description
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the
enumeration.
Since: JDK1.0, CLDC 1.0


Constructors
NoSuchElementException()
NoSuchElementException(java.lang.String s)

Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()

Constructors
NoSuchElementException()
Declaration:
public NoSuchElementException()


NoSuchElementException(String)
280
Description:
Constructs a NoSuchElementException with null as its error message string.
NoSuchElementException(String)
Declaration:
public NoSuchElementException(java.lang.String s)
Description:
Constructs a NoSuchElementException, saving a reference to the error message string s for later
retrieval by the getMessage method.
Parameters:
s - the detail message.




No comments:

Post a Comment