public class

IOException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Signals a general, I/O-related error. Error details may be specified when calling the constructor, as usual. Note there are also several subclasses of this class for more specific error situations, such as FileNotFoundException or EOFException.

Summary

Public Constructors
IOException()
Constructs a new IOException with its stack trace filled in.
IOException(String detailMessage)
Constructs a new IOException with its stack trace and detail message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IOException ()

Since: API Level 1

Constructs a new IOException with its stack trace filled in.

public IOException (String detailMessage)

Since: API Level 1

Constructs a new IOException with its stack trace and detail message filled in.

Parameters
detailMessage the detail message for this exception.