[Chapter 30] 30.14 java.util.NoSuchElementException (JDK 1.0)
Author: David Flanagan
Date: Thu Jul 31 16:35:03 1997

#

| Chapter 30 The java.util Package |

## 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

java.util.MissingResourceException (JDK 1.1) |  | java.util.Observable (JDK 1.0)