question: public void defaultWriteObject ( ) throws IOException { SerialCallbackContext ctx = curContext ; if ( ctx == null ) { throw new NotActiveException ( "not in call to writeObject" ) ; } Object curObj = ctx . getObj ( ) ; ObjectStreamClass curDesc = ctx . getDesc ( ) ; bout . setBlockDataMode ( false ) ; defaultWriteFields ( curObj , curDesc ) ; bout . setBlockDataMode ( true ) ; }
target:  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.