*** 45,54 **** --- 45,55 ---- * @see java.lang.ThreadDeath * @jls 11.2 Compile-Time Checking of Exceptions * @since 1.0 */ public class Error extends Throwable { + @java.io.Serial static final long serialVersionUID = 4980196508277280342L; /** * Constructs a new error with {@code null} as its detail message. * The cause is not initialized, and may subsequently be initialized by a