src/java.base/share/classes/java/util/NoSuchElementException.java
changeset 57956 e0b8b019d2f5
parent 47216 71c04702a3d5
child 59201 b24f4caa1411
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    34  * @see     java.util.Iterator#next()
    34  * @see     java.util.Iterator#next()
    35  * @since   1.0
    35  * @since   1.0
    36  */
    36  */
    37 public
    37 public
    38 class NoSuchElementException extends RuntimeException {
    38 class NoSuchElementException extends RuntimeException {
       
    39     @java.io.Serial
    39     private static final long serialVersionUID = 6769829250639411880L;
    40     private static final long serialVersionUID = 6769829250639411880L;
    40 
    41 
    41     /**
    42     /**
    42      * Constructs a {@code NoSuchElementException} with {@code null}
    43      * Constructs a {@code NoSuchElementException} with {@code null}
    43      * as its error message string.
    44      * as its error message string.