1. /*
  2. * @(#)UnknownError.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. /**
  9. * Thrown when an unknown but serious exception has occurred in the
  10. * Java Virtual Machine.
  11. *
  12. * @author unascribed
  13. * @version 1.9, 11/29/01
  14. * @since JDK1.0
  15. */
  16. public
  17. class UnknownError extends VirtualMachineError {
  18. /**
  19. * Constructs an <code>UnknownError</code> with no detail message.
  20. */
  21. public UnknownError() {
  22. super();
  23. }
  24. /**
  25. * Constructs an <code>UnknownError</code> with the specified detail
  26. * message.
  27. *
  28. * @param s the detail message.
  29. */
  30. public UnknownError(String s) {
  31. super(s);
  32. }
  33. }