home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / SRC.ZIP / java / lang / VirtualMachineError.java < prev    next >
Encoding:
Java Source  |  1998-03-20  |  1.1 KB  |  45 lines

  1. /*
  2.  * @(#)VirtualMachineError.java    1.8 98/03/18
  3.  *
  4.  * Copyright 1995-1997 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.lang;
  16.  
  17. /**
  18.  * Thrown to indicate that the Java Virtual Machine is broken or has 
  19.  * run out of resources necessary for it to continue operating. 
  20.  *
  21.  *
  22.  * @author  Frank Yellin
  23.  * @version 1.8, 03/18/98
  24.  * @since   JDK1.0
  25.  */
  26. abstract public
  27. class VirtualMachineError extends Error {
  28.     /**
  29.      * Constructs a <code>VirtualMachineError</code> with no detail message.
  30.      */
  31.     public VirtualMachineError() {
  32.     super();
  33.     }
  34.  
  35.     /**
  36.      * Constructs a <code>VirtualMachineError</code> with the specified 
  37.      * detail message. 
  38.      *
  39.      * @param   s   the detail message.
  40.      */
  41.     public VirtualMachineError(String s) {
  42.     super(s);
  43.     }
  44. }
  45.