If the Serializable interface is just a Marker-Interface that is used for passing some-sort of meta-data about classes in java - I\'m a bit confused:
After reading t
Anything your Serializable
class has in it that is not Serializable
will throw this exception. You can avoid it by using the transient
keyword.
Common examples of things you can't serialize include Swing components and Threads. If you think about it it makes sense because you could never deserialize them and have it make sense.