ObjectInputStream.defaultReadObject

ObjectInputStream.defaultReadObject

Class Overview | Class Members | This Package | All Packages

Syntax
public final void defaultReadObject() throws IOException, ClassNotFoundException, NotActiveException
Description
Read the non-static and non-transient fields of the current class from this stream. This may only be called from the readObject method of the class being deserialized. It will throw the NotActiveException if it is called otherwise.

Exceptions
ClassNotFoundException if the class of a serialized object could not be found.
Exceptions
IOException if an I/O error occurs.
Exceptions
NotActiveException if the stream is not currently reading objects.