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