*** 33,42 **** --- 33,43 ---- * @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.