jaroslav@77: /* jaroslav@77: * Copyright (c) 1995, 1997, Oracle and/or its affiliates. All rights reserved. jaroslav@77: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jaroslav@77: * jaroslav@77: * This code is free software; you can redistribute it and/or modify it jaroslav@77: * under the terms of the GNU General Public License version 2 only, as jaroslav@77: * published by the Free Software Foundation. Oracle designates this jaroslav@77: * particular file as subject to the "Classpath" exception as provided jaroslav@77: * by Oracle in the LICENSE file that accompanied this code. jaroslav@77: * jaroslav@77: * This code is distributed in the hope that it will be useful, but WITHOUT jaroslav@77: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jaroslav@77: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jaroslav@77: * version 2 for more details (a copy is included in the LICENSE file that jaroslav@77: * accompanied this code). jaroslav@77: * jaroslav@77: * You should have received a copy of the GNU General Public License version jaroslav@77: * 2 along with this work; if not, write to the Free Software Foundation, jaroslav@77: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jaroslav@77: * jaroslav@77: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA jaroslav@77: * or visit www.oracle.com if you need additional information or have any jaroslav@77: * questions. jaroslav@77: */ jaroslav@77: jaroslav@77: package java.lang; jaroslav@77: jaroslav@77: /** jaroslav@77: * Thrown to indicate that the Java Virtual Machine is broken or has jaroslav@77: * run out of resources necessary for it to continue operating. jaroslav@77: * jaroslav@77: * jaroslav@77: * @author Frank Yellin jaroslav@77: * @since JDK1.0 jaroslav@77: */ jaroslav@77: abstract public jaroslav@77: class VirtualMachineError extends Error { jaroslav@77: /** jaroslav@77: * Constructs a VirtualMachineError with no detail message. jaroslav@77: */ jaroslav@77: public VirtualMachineError() { jaroslav@77: super(); jaroslav@77: } jaroslav@77: jaroslav@77: /** jaroslav@77: * Constructs a VirtualMachineError with the specified jaroslav@77: * detail message. jaroslav@77: * jaroslav@77: * @param s the detail message. jaroslav@77: */ jaroslav@77: public VirtualMachineError(String s) { jaroslav@77: super(s); jaroslav@77: } jaroslav@77: }