Java™ Platform
Standard Ed. 6

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 Provides the classes and interfaces for the security framework. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
javax.management.openmbean Provides the open data types and Open MBean descriptor classes. 
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
 

Methods in java.security that throw ObjectStreamException
protected  Object KeyRep.readResolve()
          Resolve the Key object.
 

Uses of ObjectStreamException in java.security.cert
 

Methods in java.security.cert that throw ObjectStreamException
protected  Object CertPath.CertPathRep.readResolve()
          Returns a CertPath constructed from the type and data.
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 Certificate.writeReplace()
          Replace the Certificate to be serialized.
 

Uses of ObjectStreamException in javax.management.openmbean
 

Methods in javax.management.openmbean that throw ObjectStreamException
 Object SimpleType.readResolve()
          Replace an object read from an ObjectInputStream with the unique instance for that value.
 

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.
 


Java™ Platform
Standard Ed. 6

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

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.

Scripting on this page tracks web page traffic, but does not change the content in any way.