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.ObjectStreamExceptionpublic abstract class ObjectStreamException extends IOException { // Protected Constructors protected ObjectStreamException ( ); protected ObjectStreamException (String classname ); } SubclassesInvalidClassException , InvalidObjectException , NotActiveException , NotSerializableException , OptionalDataException , StreamCorruptedException , WriteAbortedException Thrown Byjava.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( ) |