Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 159
نمايش فراداده

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( )