Missing Data-member typ in Serialization

Ok, this is a school project. We have a sender that sends serialized objects on UDP-streams.

We should listen on those streams and print the objects on the screen... One of the objects that comes over the stream is called Vehicle, i have the .class file for Vehicle and i got the interface that it implements. The problem is that one of it's member is of a class i don't have access to.

This obviously leads to a NoClassDefFoundError. However, i don't need that variable and wonders if it is possible in some way to ignore that member of the class... Any Tip?

Thanks in advance!

//Leif

[619 byte] By [berindera] at [2007-10-3 4:27:27]
# 1
You can make that member transient and avoid serialising it.Also you can implement a custom serialization algorithm and avoid serialising that member in your code.
LRMKa at 2007-7-14 22:30:15 > top of Java-index,Core,Core APIs...