java.io

Class NotSerializableException

public class NotSerializableException extends ObjectStreamException

This exception is thrown when a class implements Serializable because of a superclass, but should not be serialized. The descriptive message will consist of the name of the class in question.

Since: 1.1

UNKNOWN: updated to 1.4

Constructor Summary
NotSerializableException()
Create an exception without a descriptive error message.
NotSerializableException(String message)
Create an exception with a descriptive error message, which should be the name of the class.

Constructor Detail

NotSerializableException

public NotSerializableException()
Create an exception without a descriptive error message.

NotSerializableException

public NotSerializableException(String message)
Create an exception with a descriptive error message, which should be the name of the class.

Parameters: message the descriptive error message