Back to index

plt-scheme  4.2.1
Public Member Functions | Static Private Attributes
java.util.NoSuchElementException Class Reference

Exception thrown when an attempt is made to access an element that does not exist. More...

List of all members.

Public Member Functions

 NoSuchElementException ()
 Constructs a NoSuchElementException with no detail message.
 NoSuchElementException (String detail)
 Constructs a NoSuchElementException with a detail message.

Static Private Attributes

static final long serialVersionUID = 6769829250639411880L
 Compatible with JDK 1.0.

Detailed Description

Exception thrown when an attempt is made to access an element that does not exist.

This exception is thrown by the Enumeration, Iterator and ListIterator classes if the nextElement, next or previous method goes beyond the end of the list of elements that are being accessed. It is also thrown by Vector and Stack when attempting to access the first or last element of an empty collection.

Author:
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com
Eric Blake ebb9@.nosp@m.emai.nosp@m.l.byu.nosp@m..edu
See also:
Enumeration
Iterator
ListIterator
Enumeration::nextElement()
Iterator::next()
ListIterator::previous()
Since:
1.0 updated to 1.4

Definition at line 65 of file NoSuchElementException.java.


Constructor & Destructor Documentation

Constructs a NoSuchElementException with no detail message.

Definition at line 75 of file NoSuchElementException.java.

  {
  }

Constructs a NoSuchElementException with a detail message.

Parameters:
detailthe detail message for the exception

Definition at line 84 of file NoSuchElementException.java.

  {
    super(detail);
  }

Member Data Documentation

final long java.util.NoSuchElementException.serialVersionUID = 6769829250639411880L [static, private]

Compatible with JDK 1.0.

Definition at line 70 of file NoSuchElementException.java.


The documentation for this class was generated from the following file: