It never wanted to write it correctly. After adding a lot of catches it turns out to be a "NotSerializableException", which means : Some object to be serialized does not implement the java.io.Serializable interface. Thrown when an instance is required to have a Serializable interface.
Could somebody explain that error in common english? :p What does it mean? (and how can i solve it)
Seems like it's trown when the class i want to write contains a variable that is of a type NonSerializableObject.. whatever that means.
the class i'm writing has these attributes:
private StockSubClass[] cds;the stocksubclass contains these:
class StockSubClass extends Stock implements Comparable
{
private String CdGenre;
and Stock has:class Stock {
private String cdArtist;
private int cdItem;
private int cdUnits;
private double cdPrice;
Edited by wim DC, 01 July 2009 - 02:08 AM.
typo


Sign In
Create Account


Back to top










