JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.io.ObjectStreamException

Packages that use ObjectStreamException
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.color Provides classes for color spaces. 
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. 
javax.print.attribute Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. 
 

Uses of ObjectStreamException in java.awt
 

Methods in java.awt that throw ObjectStreamException
protected  Object AWTKeyStroke.readResolve()
          Returns a cached instance of AWTKeyStroke (or a subclass of AWTKeyStroke) which is equal to this instance.
 

Uses of ObjectStreamException in java.awt.color
 

Methods in java.awt.color that throw ObjectStreamException
protected  Object ICC_Profile.readResolve()
          Resolves instances being deserialized into instances registered with CMM.
 

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 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.
protected  Object Certificate.writeReplace()
          Replace the Certificate to be serialized.
protected  Object Certificate.CertificateRep.readResolve()
          Resolve the Certificate Object.
 

Uses of ObjectStreamException in javax.print.attribute
 

Methods in javax.print.attribute that throw ObjectStreamException
protected  Object EnumSyntax.readResolve()
          During object input, convert this deserialized enumeration instance to the proper enumeration value defined in the enumeration attribute class.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.