System.IO
Class IOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by System.SystemException
                  extended by System.IO.IOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EndOfStreamException, PathTooLongException

public class IOException
extends SystemException

The exception that is thrown when an I/O error occurs.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
IOException()
          Initializes a new instance of the IOException class with its message string set to the empty string ("").
IOException(java.lang.String message)
          Initializes a new instance of the IOException class with its message string set to message.
IOException(java.lang.String message, java.lang.Exception innerException)
          Initializes a new instance of the IOException class with a specified error message and a reference to the inner exception that is the cause of this exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IOException

public IOException()
Initializes a new instance of the IOException class with its message string set to the empty string ("").


IOException

public IOException(java.lang.String message)
Initializes a new instance of the IOException class with its message string set to message.

Parameters:
message - A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

IOException

public IOException(java.lang.String message,
                   java.lang.Exception innerException)
Initializes a new instance of the IOException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:
message - The error message that explains the reason for the exception.
innerException - The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.