Moving modules around so the runtime is under one master pom and can be built without building other modules that are in the repository
2 * Copyright (c) 1994, 2006, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
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
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.
34 * @see java.io.InputStream
35 * @see java.io.OutputStream
39 class IOException extends Exception {
40 static final long serialVersionUID = 7818375828146090155L;
43 * Constructs an {@code IOException} with {@code null}
44 * as its error detail message.
46 public IOException() {
51 * Constructs an {@code IOException} with the specified detail message.
54 * The detail message (which is saved for later retrieval
55 * by the {@link #getMessage()} method)
57 public IOException(String message) {
62 * Constructs an {@code IOException} with the specified detail message
65 * <p> Note that the detail message associated with {@code cause} is
66 * <i>not</i> automatically incorporated into this exception's detail
70 * The detail message (which is saved for later retrieval
71 * by the {@link #getMessage()} method)
74 * The cause (which is saved for later retrieval by the
75 * {@link #getCause()} method). (A null value is permitted,
76 * and indicates that the cause is nonexistent or unknown.)
80 public IOException(String message, Throwable cause) {
81 super(message, cause);
85 * Constructs an {@code IOException} with the specified cause and a
86 * detail message of {@code (cause==null ? null : cause.toString())}
87 * (which typically contains the class and detail message of {@code cause}).
88 * This constructor is useful for IO exceptions that are little more
89 * than wrappers for other throwables.
92 * The cause (which is saved for later retrieval by the
93 * {@link #getCause()} method). (A null value is permitted,
94 * and indicates that the cause is nonexistent or unknown.)
98 public IOException(Throwable cause) {