Team LiB
Previous Section Next Section

NoSuchElementExceptionjava.util

Java 1.0serializable unchecked

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).

Figure 16-46. java.util.NoSuchElementException


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

Subclasses

InputMismatchException

    Team LiB
    Previous Section Next Section