/*
* @(#)IOException.java 1.22 03/12/19
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.io;
/**
* Signals that an I/O exception of some sort has occurred. This
* class is the general class of exceptions produced by failed or
* interrupted I/O operations.
*
* @author unascribed
* @version 1.22, 12/19/03
* @see java.io.InputStream
* @see java.io.OutputStream
* @since JDK1.0
*/
public
class IOException extends Exception {
/**
* Constructs an IOException
with null
* as its error detail message.
*/
public IOException() {
super();
}
/**
* Constructs an IOException
with the specified detail
* message. The error message string s
can later be
* retrieved by the {@link java.lang.Throwable#getMessage}
* method of class java.lang.Throwable
.
*
* @param s the detail message.
*/
public IOException(String s) {
super(s);
}
}