16 *
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.
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 JDK1.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 */
|
16 *
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.
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 */
|