Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

Foundation 1.1.2

Uses of Class
java.io.ObjectStreamException

Packages that use ObjectStreamException
java.io Provides for system input and output through data streams, serialization and the file system. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
 

Uses of ObjectStreamException in java.io
 

Subclasses of ObjectStreamException in java.io
 class InvalidClassException
          Thrown when the Serialization runtime detects one of the following problems with a Class.
 class InvalidObjectException
          Indicates that one or more deserialized objects failed validation tests.
 class NotActiveException
          Thrown when serialization or deserialization is not active.
 class NotSerializableException
          Thrown when an instance is required to have a Serializable interface.
 class OptionalDataException
          Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream.
 class StreamCorruptedException
          Thrown when control information that was read from an object stream violates internal consistency checks.
 class WriteAbortedException
          Signals that one of the ObjectStreamExceptions was thrown during a write operation.
 

Uses of ObjectStreamException in java.security.cert
 

Methods in java.security.cert that throw ObjectStreamException
protected  Object Certificate.writeReplace()
          Replace the Certificate to be serialized.
protected  Object Certificate.CertificateRep.readResolve()
          Resolve the Certificate Object.
protected  Object CertPath.writeReplace()
          Replaces the CertPath to be serialized with a CertPathRep object.
protected  Object CertPath.CertPathRep.readResolve()
          Returns a CertPath constructed from the type and data.
 


Foundation 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 219 specification.