< prev index next >

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

Print this page

        

@@ -33,10 +33,11 @@
  * @see     java.util.Stack
  * @since   1.0
  */
 public
 class EmptyStackException extends RuntimeException {
+    @java.io.Serial
     private static final long serialVersionUID = 5084686378493302095L;
 
     /**
      * Constructs a new {@code EmptyStackException} with {@code null}
      * as its error message string.
< prev index next >