< prev index next >

src/java.base/share/classes/java/util/NoSuchElementException.java

Print this page

        

@@ -34,10 +34,11 @@
  * @see     java.util.Iterator#next()
  * @since   1.0
  */
 public
 class NoSuchElementException extends RuntimeException {
+    @java.io.Serial
     private static final long serialVersionUID = 6769829250639411880L;
 
     /**
      * Constructs a {@code NoSuchElementException} with {@code null}
      * as its error message string.
< prev index next >