java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----java.io.IOException | +----java.io.ObjectStreamException | +----java.io.NotSerializableException
public class NotSerializableException
extends ObjectStreamException
Raised by a class or the serialization runtime when a class may not be serialized. The argument should be the name of the class.