home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Java Fundamental Classes Reference

Previous Chapter 11
The java.io Package
Next
 

IOException

Name

IOException

Synopsis

Class Name:

java.io.IOException

Superclass:

java.lang.Exception

Immediate Subclasses:

java.io.CharConversionException,

java.io.EOFException,

java.io.FileNotFoundException,

java.io.InterruptedIOException,

java.io.ObjectStreamException,

java.io.SyncFailedException,

java.io.UnsupportedEncodingException,

java.io.UTFDataFormatException,

java.net.MalformedURLException,

java.net.ProtocolException,

java.net.SocketException,

java.net.UnknownHostException,

java.net.UnknownServiceException,

java.util.zip.ZipException

Interfaces Implemented:

None

Availability:

JDK 1.0 or later

Description

The IOException class is the superclass for all of the exceptions that represent anything that can go wrong with input or output.

Class Summary

public class java.io.IOException extends java.lang.Exception {
  // Constructors
  public IOException();
  public IOException(String s);
}

Constructors

IOException

public IOException()

Description

This constructor creates an IOException with no detail message.

public IOException(String s)

Parameters

s

The detail message.

Description

This constructor creates an IOException with the specified detail message.

Inherited Methods

Method

Inherited From

Method

Inherited From

clone()

Object

equals(Object)

Object

fillInStackTrace()

Throwable

finalize()

Object

getClass()

Object

getLocalizedMessage()

Throwable

getMessage()

Throwable

hashCode()

Object

notify()

Object

notifyAll()

Object

printStackTrace()

Throwable

printStackTrace(PrintStream)

Throwable

printStackTrace(PrintWriter)

Throwable

toString()

Object

wait()

Object

wait(long)

Object

wait(long, int)

Object

   

See Also

CharConversionException, EOFException, Exception, FileNotFoundException, InterruptedException, MalformedURLException, ObjectStreamException, ProtocolException, SocketException, SyncFailedException, Throwable, UnknownHostException, UnknownServiceException, UnsupportedEncodingException, UTFDataFormatException, ZipException


Previous Home Next
InvalidObjectException Book Index LineNumberInputStream

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java