equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1995, 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 |
45 * @see java.lang.ThreadDeath |
45 * @see java.lang.ThreadDeath |
46 * @jls 11.2 Compile-Time Checking of Exceptions |
46 * @jls 11.2 Compile-Time Checking of Exceptions |
47 * @since 1.0 |
47 * @since 1.0 |
48 */ |
48 */ |
49 public class Error extends Throwable { |
49 public class Error extends Throwable { |
|
50 @java.io.Serial |
50 static final long serialVersionUID = 4980196508277280342L; |
51 static final long serialVersionUID = 4980196508277280342L; |
51 |
52 |
52 /** |
53 /** |
53 * Constructs a new error with {@code null} as its detail message. |
54 * Constructs a new error with {@code null} as its detail message. |
54 * The cause is not initialized, and may subsequently be initialized by a |
55 * The cause is not initialized, and may subsequently be initialized by a |