17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.lang;
27
28 /**
29 * Thrown to indicate that the Java Virtual Machine is broken or has
30 * run out of resources necessary for it to continue operating.
31 *
32 *
33 * @author Frank Yellin
34 * @since 1.0
35 */
36 public abstract class VirtualMachineError extends Error {
37 private static final long serialVersionUID = 4161983926571568670L;
38
39 /**
40 * Constructs a <code>VirtualMachineError</code> with no detail message.
41 */
42 public VirtualMachineError() {
43 super();
44 }
45
46 /**
47 * Constructs a <code>VirtualMachineError</code> with the specified
48 * detail message.
49 *
50 * @param message the detail message.
51 */
52 public VirtualMachineError(String message) {
53 super(message);
54 }
55
56 /**
|
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.lang;
27
28 /**
29 * Thrown to indicate that the Java Virtual Machine is broken or has
30 * run out of resources necessary for it to continue operating.
31 *
32 *
33 * @author Frank Yellin
34 * @since 1.0
35 */
36 public abstract class VirtualMachineError extends Error {
37 @java.io.Serial
38 private static final long serialVersionUID = 4161983926571568670L;
39
40 /**
41 * Constructs a <code>VirtualMachineError</code> with no detail message.
42 */
43 public VirtualMachineError() {
44 super();
45 }
46
47 /**
48 * Constructs a <code>VirtualMachineError</code> with the specified
49 * detail message.
50 *
51 * @param message the detail message.
52 */
53 public VirtualMachineError(String message) {
54 super(message);
55 }
56
57 /**
|