Package java.util Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class NoSuchElementException

Constructors

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.


Constructors


NoSuchElementException

public NoSuchElementException() 

Constructs a NoSuchElementException with no detail message.


NoSuchElementException

public NoSuchElementException(String  s) 

Constructs a NoSuchElementException with the specified detail message.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.