1 /* 2 * @(#)VirtualMachineError.java 1.14 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.lang; 9 10 /** 11 * Thrown to indicate that the Java Virtual Machine is broken or has 12 * run out of resources necessary for it to continue operating. 13 * 14 * 15 * @author Frank Yellin 16 * @version 1.14, 12/19/03 17 * @since JDK1.0 18 */ 19 abstract public 20 class VirtualMachineError extends Error { 21 /** 22 * Constructs a <code>VirtualMachineError</code> with no detail message. 23 */ 24 public VirtualMachineError() { 25 super(); 26 } 27 28 /** 29 * Constructs a <code>VirtualMachineError</code> with the specified 30 * detail message. 31 * 32 * @param s the detail message. 33 */ 34 public VirtualMachineError(String s) { 35 super(s); 36 } 37 } 38