1. /*
  2. * @(#)VirtualMachineError.java 1.11 00/02/02
  3. *
  4. * Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.lang;
  11. /**
  12. * Thrown to indicate that the Java Virtual Machine is broken or has
  13. * run out of resources necessary for it to continue operating.
  14. *
  15. *
  16. * @author Frank Yellin
  17. * @version 1.11, 02/02/00
  18. * @since JDK1.0
  19. */
  20. abstract public
  21. class VirtualMachineError extends Error {
  22. /**
  23. * Constructs a <code>VirtualMachineError</code> with no detail message.
  24. */
  25. public VirtualMachineError() {
  26. super();
  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. }