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