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(
)
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.