1. /*
  2. * @(#)Exception.java 1.27 00/02/02
  3. *
  4. * Copyright 1994-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. * The class <code>Exception</code> and its subclasses are a form of
  13. * <code>Throwable</code> that indicates conditions that a reasonable
  14. * application might want to catch.
  15. *
  16. * @author Frank Yellin
  17. * @version 1.27, 02/02/00
  18. * @see java.lang.Error
  19. * @since JDK1.0
  20. */
  21. public
  22. class Exception extends Throwable {
  23. /**
  24. * Constructs an <code>Exception</code> with no specified detail message.
  25. */
  26. public Exception() {
  27. super();
  28. }
  29. /**
  30. * Constructs an <code>Exception</code> with the specified detail message.
  31. *
  32. * @param s the detail message.
  33. */
  34. public Exception(String s) {
  35. super(s);
  36. }
  37. }