java.io
Class IOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ChangedCharSetException, CharacterCodingException, CharConversionException, ClosedChannelException, EOFException, FileLockInterruptionException, FileNotFoundException, IIOException, InterruptedIOException, InvalidPropertiesFormatException, MalformedURLException, ObjectStreamException, ProtocolException, RemoteException, SaslException, SocketException, SSLException, SyncFailedException, UnknownHostException, UnknownServiceException, UnsupportedDataTypeException, UnsupportedEncodingException, UTFDataFormatException, ZipException
public class IOException
- extends Exception
This exception is thrown to indicate an I/O problem of some sort
occurred. Since this is a fairly generic exception, often a subclass
of IOException will actually be thrown in order to provide a more
detailed indication of what happened.
- See Also:
- Serialized Form
Constructor Summary |
IOException()
Create an exception without a descriptive error message. |
IOException(String message)
Create an exception with a descriptive error message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IOException
public IOException()
- Create an exception without a descriptive error message.
IOException
public IOException(String message)
- Create an exception with a descriptive error message.
- Parameters:
message
- the descriptive error message