/[classpath]/classpath/java/util/NoSuchElementException.java
ViewVC logotype

Diff of /classpath/java/util/NoSuchElementException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mark, Sun Feb 18 15:39:58 2001 UTC revision 1.7 by ericb, Mon Oct 22 03:46:07 2001 UTC
# Line 30  package java.util; Line 30  package java.util;
30  /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3  /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
31   * "The Java Language Specification", ISBN 0-201-63451-1   * "The Java Language Specification", ISBN 0-201-63451-1
32   * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.   * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
  * Status:  Believed complete and correct.  
33   */   */
34    
35  /**  /**
36   * Exception thrown when an attempt is made to access an element that does not   * Exception thrown when an attempt is made to access an element that does not
37   * exist. This exception is thrown by the Enumeration, Iterator and ListIterator   * exist. This exception is thrown by the Enumeration, Iterator and
38   * classes if the nextElement, next or previous method goes beyond the end of   * ListIterator classes if the nextElement, next or previous method goes
39   * the list of elements that are being accessed.   * beyond the end of the list of elements that are being accessed. It is also
40     * thrown by Vector and Stack when attempting to access the first or last
41     * element of an empty collection.
42   *   *
43   * @author Warren Levy <warrenl@cygnus.com>   * @author Warren Levy <warrenl@cygnus.com>
44   * @date September 2, 1998.   * @author Eric Blake <ebb9@email.byu.edu>
45     * @see Enumeration
46     * @see Iterator
47     * @see ListIterator
48     * @see Enumeration#nextElement()
49     * @see Iterator#next()
50     * @see ListIterator#previous()
51     * @since 1.0
52     * @status updated to 1.4
53   */   */
54  public class NoSuchElementException extends RuntimeException  public class NoSuchElementException extends RuntimeException
55  {  {
56      /**
57       * Compatible with JDK 1.0.
58       */
59    private static final long serialVersionUID = 6769829250639411880L;    private static final long serialVersionUID = 6769829250639411880L;
60    
61    /**    /**
# Line 51  public class NoSuchElementException exte Line 63  public class NoSuchElementException exte
63     */     */
64    public NoSuchElementException()    public NoSuchElementException()
65    {    {
     super();  
66    }    }
67    
68    /**    /**

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26