Exception: java.io.NotSerializableException

Thrown when an instance is required to have a Serializable interface. The serialization runtime or the class of the instance can throw this exception. The argument should be the name of the class.
Authors:
@author unascribed
Since:
@since JDK1.1

Inheritance

Superclass tree: Implements:

Methods

  • NotSerializableExceptiontop

    public NotSerializableException()
    Constructs a NotSerializableException object.
    Google Code Search
    Stack Overflow
  • NotSerializableExceptiontop

    public NotSerializableException(String classname)
    Constructs a NotSerializableException object with message string.
    Parameters:
    @param classname Class of the instance being serialized/deserialized.
    Google Code Search
    Stack Overflow