Share via


ObjectOutputStream.defaultWriteObject

Class Overview | Class Members | This Package | All Packages

Syntax

public final void defaultWriteObject() throws IOException

Description

Write the non-static and non-transient fields of the current class to this stream. This may only be called from the writeObject method of the class being serialized. It will throw the NotActiveException if it is called otherwise.