|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IOException | |
java.io | |
java.util |
Uses of IOException in java.io |
Subclasses of IOException in java.io | |
class |
CharConversionException
This is the top level class for character conversion exceptions. |
class |
EOFException
This End Of File (EOF) exception is thrown when a program encounters the end of a file or stream during an operation. |
class |
FileNotFoundException
This IO exception is thrown when a file specified by a program cannot be found. |
class |
InterruptedIOException
This IO exception is thrown when a program reading or writing to a stream is interrupted. |
class |
InvalidClassException
A problem was found with the class of one of the objects being serialized or deserialized. |
class |
InvalidObjectException
The object graph loaded (deserialized) can be validated by a collection of validator objects. |
class |
NotActiveException
Some methods in ObjectInputStream and ObjectOutputStream can only be called from a nested call to readObject() or writeObject(). |
class |
NotSerializableException
When an implementation of ObjectOutput.writeObject() is passed an object that is not serializable, it will throw this type of exception. |
class |
ObjectStreamException
This is the superclass of all exceptions that can happen when serializing or deserialing objects. |
class |
OptionalDataException
When readObject() encounters primitive types (int, char, etc) instead of an object instance in the input stream, this type of exception will be thrown. |
class |
StreamCorruptedException
When readObject() cannot read an object from the input stream due to missing information (cyclic reference that doesn't match previous instance or missing class descriptor for instance to be loaded) this type of exception is thrown. |
class |
SyncFailedException
This IO exception is thrown when the method sync() in
FileDescriptor failed to complete. |
class |
UnsupportedEncodingException
This IO exception is thrown when a program asks for a particular character converter and it is not available. |
class |
UTFDataFormatException
This IO exception is thrown when a program attempts to read a UTF-8 String and the encoding is incorrect. |
class |
WriteAbortedException
This type of exception is thrown by readObject() when it detects an exception marker in the input stream. |
Methods in java.io that throw IOException | |
abstract int |
InputStream.read()
Reads the next byte of data from the input stream. |
int |
InputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into the buffer array b . |
int |
InputStream.read(byte[] b,
int off,
int len)
Reads up to len bytes of data from the input stream into
an array of bytes. |
long |
InputStream.skip(long n)
Skips over and discards n bytes of data from this input
stream. |
int |
InputStream.available()
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. |
void |
InputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
InputStream.reset()
Repositions this stream to the position at the time the mark method was last called on this input stream.
|
Uses of IOException in java.util |
Subclasses of IOException in java.util | |
class |
InvalidPropertiesFormatException
|
Methods in java.util that throw IOException | |
void |
Properties.load(InputStream inStream)
Reads a property list (key and element pairs) from the input stream. |
void |
Properties.store(java.io.OutputStream out,
java.lang.String header)
Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable
for loading into a Properties table using the
load method.
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |