serialization - How to handle Java.io.NotSerializableException -
i have created java program works java i/o. have implemented serializable interface, still cause java.io.notserializableexception on following part of code while trying write objects file:
oos.writeobject(ep);
how possible while implementing serializable? should works besides implementing interface?
usually means, object object trying serialize holds reference not serializable. if post code , exceptions stacktrace lot easier tell.
Comments
Post a Comment