Package java.util |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.util.NoSuchElementException extends java.lang.RuntimeException { // Constructors public NoSuchElementException(); public NoSuchElementException(String s); }
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
public NoSuchElementException()Constructs a NoSuchElementException with no detail message.
public NoSuchElementException(String s)Constructs a NoSuchElementException with the specified detail message.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.