20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.io;
27
28 /**
29 * Signals that an I/O exception of some sort has occurred. This
30 * class is the general class of exceptions produced by failed or
31 * interrupted I/O operations.
32 *
33 * @author unascribed
34 * @see java.io.InputStream
35 * @see java.io.OutputStream
36 * @since 1.0
37 */
38 public
39 class IOException extends Exception {
40 static final long serialVersionUID = 7818375828146090155L;
41
42 /**
43 * Constructs an {@code IOException} with {@code null}
44 * as its error detail message.
45 */
46 public IOException() {
47 super();
48 }
49
50 /**
51 * Constructs an {@code IOException} with the specified detail message.
52 *
53 * @param message
54 * The detail message (which is saved for later retrieval
55 * by the {@link #getMessage()} method)
56 */
57 public IOException(String message) {
58 super(message);
59 }
|
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.io;
27
28 /**
29 * Signals that an I/O exception of some sort has occurred. This
30 * class is the general class of exceptions produced by failed or
31 * interrupted I/O operations.
32 *
33 * @author unascribed
34 * @see java.io.InputStream
35 * @see java.io.OutputStream
36 * @since 1.0
37 */
38 public
39 class IOException extends Exception {
40 @java.io.Serial
41 static final long serialVersionUID = 7818375828146090155L;
42
43 /**
44 * Constructs an {@code IOException} with {@code null}
45 * as its error detail message.
46 */
47 public IOException() {
48 super();
49 }
50
51 /**
52 * Constructs an {@code IOException} with the specified detail message.
53 *
54 * @param message
55 * The detail message (which is saved for later retrieval
56 * by the {@link #getMessage()} method)
57 */
58 public IOException(String message) {
59 super(message);
60 }
|