Java in a Nutshell

Previous Chapter 30
The java.util Package
Next
 

30.14 java.util.NoSuchElementException (JDK 1.0)

Signals that there are no elements in an object (such as a Vector) or that there are no more elements in an object (such as an Enumeration).

public class NoSuchElementException extends RuntimeException {
    // Public Constructors
            public NoSuchElementException();
            public NoSuchElementException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException->NoSuchElementException


Previous Home Next
java.util.MissingResourceException (JDK 1.1) Book Index java.util.Observable (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java