Team LiB
Previous Section Next Section

IOExceptionjava.io

Java 1.0serializable checked

Signals that an exceptional condition has occurred during input or output. This class has several more specific subclasses. See EOFException, FileNotFoundException, InterruptedIOException, and UTFDataFormatException.

Figure 9-30. java.io.IOException


public class IOException extends Exception {
// Public Constructors
     public IOException( );  
     public IOException(String s);  
}

Subclasses

CharConversionException, EOFException, FileNotFoundException, InterruptedIOException, ObjectStreamException, SyncFailedException, UnsupportedEncodingException, UTFDataFormatException, java.net.HttpRetryException, java.net.MalformedURLException, java.net.ProtocolException, java.net.SocketException, java.net.UnknownHostException, java.net.UnknownServiceException, java.nio.channels.ClosedChannelException, java.nio.channels.FileLockInterruptionException, java.nio.charset.CharacterCodingException, java.util.InvalidPropertiesFormatException, java.util.zip.ZipException, javax.net.ssl.SSLException

Passed To

java.net.ProxySelector.connectFailed( )

Returned By

java.util.Formatter.ioException( ), java.util.Scanner.ioException( )

Thrown By

Too many methods to list.

    Team LiB
    Previous Section Next Section