public class IOException extends SystemException
Constructor and Description |
---|
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.Throwable 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. |
public IOException()
IOException
class with its message string set to the empty string ("").public IOException(java.lang.String message)
IOException
class with its message string set to message.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.public IOException(java.lang.String message, java.lang.Throwable innerException)
IOException
class with a specified error message and a reference to the inner exception that is the cause of this exception.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.