KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > io > IOException


1 /*
2  * @(#)IOException.java 1.22 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.io;
9
10 /**
11  * Signals that an I/O exception of some sort has occurred. This
12  * class is the general class of exceptions produced by failed or
13  * interrupted I/O operations.
14  *
15  * @author unascribed
16  * @version 1.22, 12/19/03
17  * @see java.io.InputStream
18  * @see java.io.OutputStream
19  * @since JDK1.0
20  */

21 public
22 class IOException extends Exception JavaDoc {
23     /**
24      * Constructs an <code>IOException</code> with <code>null</code>
25      * as its error detail message.
26      */

27     public IOException() {
28     super();
29     }
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 JavaDoc s) {
40     super(s);
41     }
42 }
43
Popular Tags