Java Reference
In-Depth Information
a blocking I/O operation. In practice most implementations
only check for interruption before performing an operation
and do not respond to interruption during the operation (see
page 515 ) so you cannot rely on the ability to interrupt a
blocked thread. This exception is also used to signify that a
time-out occurred during network I/O.
InvalidClassException extends ObjectStreamException
Thrown when the serialization mechanism detects a problem
with a class: The serial version of the class does not match
that read from the stream, the class contains unknown data
types, or the class does not have an accessible no-arg con-
structor when needed.
InvalidObjectException extends ObjectStreamException
Thrown when the validateObject method cannot make the ob-
ject valid, thus aborting the deserialization.
NotActiveException extends ObjectStreamException
Thrown when a serialization method, such as defaultReadOb-
ject , is invoked when serialization is not under way on the
stream.
NotSerializableException extends ObjectStreamException
Thrown either by the serialization mechanism or explicitly by
a class when a class cannot be serialized.
ObjectStreamException extends IOException
The superclass for all the Object stream related exceptions.
OptionalDataException extends ObjectStreamException
 
Search WWH ::




Custom Search