1. /*
  2. * @(#)UnknownError.java 1.10 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 when an unknown but serious exception has occurred in the
  13. * Java Virtual Machine.
  14. *
  15. * @author unascribed
  16. * @version 1.10, 02/02/00
  17. * @since JDK1.0
  18. */
  19. public
  20. class UnknownError extends VirtualMachineError {
  21. /**
  22. * Constructs an <code>UnknownError</code> with no detail message.
  23. */
  24. public UnknownError() {
  25. super();
  26. }
  27. /**
  28. * Constructs an <code>UnknownError</code> with the specified detail
  29. * message.
  30. *
  31. * @param s the detail message.
  32. */
  33. public UnknownError(String s) {
  34. super(s);
  35. }
  36. }