Name
ObjectStreamException
Synopsis
This
class is the superclass of a number of more specific exception types
that may be raised in the process of serializing and deserializing
objects with the ObjectOutputStream and
ObjectInputStream classes.
Figure 9-40. java.io.ObjectStreamException
public abstract class ObjectStreamException extends IOException { // Protected Constructors protected ObjectStreamException( ); protected ObjectStreamException(String classname); }
Subclasses
InvalidClassException,
InvalidObjectException,
NotActiveException,
NotSerializableException,
OptionalDataException,
StreamCorruptedException,
WriteAbortedException
Thrown By
java.security.KeyRep.readResolve( ),
java.security.cert.Certificate.writeReplace( ),
java.security.cert.Certificate.CertificateRep.readResolve(
), java.security.cert.CertPath.writeReplace(
),
java.security.cert.CertPath.CertPathRep.readResolve(
)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access