Class NoSuchElementException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class NoSuchElementException

public class netscape.util.NoSuchElementException
    extends java.lang.RuntimeException
{
    /* Constructors
     */
    public NoSuchElementException();
    public NoSuchElementException(String);

}
RuntimeException signaling that an Enumeration is empty. Enumerations throw this exception when nextElement() is called but the Enumeration is empty.
See Also:
Enumeration

Constructors

NoSuchElementException

  public NoSuchElementException()
Constructs a NoSuchElementException with no message.

NoSuchElementException

  public NoSuchElementException(String s)
Constructs a NoSuchElementException with a descriptive message.

All Packages  Class Hierarchy  This Package  Previous  Next  Index