1. /*
  2. * @(#)IOException.java 1.19 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.io;
  11. /**
  12. * Signals that an I/O exception of some sort has occurred. This
  13. * class is the general class of exceptions produced by failed or
  14. * interrupted I/O operations.
  15. *
  16. * @author unascribed
  17. * @version 1.19, 02/02/00
  18. * @see java.io.InputStream
  19. * @see java.io.OutputStream
  20. * @since JDK1.0
  21. */
  22. public
  23. class IOException extends Exception {
  24. /**
  25. * Constructs an <code>IOException</code> with <code>null</code>
  26. * as its error detail message.
  27. */
  28. public IOException() {
  29. super();
  30. }
  31. /**
  32. * Constructs an <code>IOException</code> with the specified detail
  33. * message. The error message string <code>s</code> can later be
  34. * retrieved by the <code>{@link java.lang.Throwable#getMessage}</code>
  35. * method of class <code>java.lang.Throwable</code>.
  36. *
  37. * @param s the detail message.
  38. */
  39. public IOException(String s) {
  40. super(s);
  41. }
  42. }