PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

java.util
Class NoSuchElementException

java.lang.Object
 |
 +--java.lang.Throwable
 |
 +--java.lang.Exception
 |
 +--java.lang.RuntimeException
 |
 +--java.util.NoSuchElementException
All Implemented Interfaces:
Serializable

public class NoSuchElementException
extends RuntimeException

Untamed: Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.

Since:
JDK1.0
Version:
1.19, 12/03/01
Author:
unascribed
See Also:
java.util.Enumeration, java.util.Enumeration#nextElement(), Serialized Form

Field Summary
Fields inherited from class java.lang.RuntimeException
Fields inherited from class java.lang.Throwable
Constructor Summary
NoSuchElementException()
Enabled: Constructs a NoSuchElementException with null as its error message string.
NoSuchElementException(String s)
Enabled: Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

NoSuchElementException

public NoSuchElementException()
Enabled: Constructs a NoSuchElementException with null as its error message string.


NoSuchElementException

public NoSuchElementException(String s)
Enabled: Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.

Parameters:
s - the detail message.

PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

comments?

AltStyle によって変換されたページ (->オリジナル) /