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.IOExceptionpublic class IOException extends Exception { // Public Constructors public IOException ( ); public IOException (String s ); } SubclassesCharConversionException , 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 Tojava.net.ProxySelector.connectFailed( ) Returned Byjava.util.Formatter.ioException( ) , java.util.Scanner.ioException( ) Thrown ByToo many methods to list. |