Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.io

Class NotSerializableException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.io.IOException
         |
         +--java.io.ObjectStreamException
            |
            +--java.io.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:Author:

Constructor Summary

NotSerializableException()

Create an exception without a descriptive error message.
NotSerializableException(java.lang.String message)

Create an exception with a descriptive error message, which should be the name of the class.

Constructor Details

NotSerializableException

public NotSerializableException()

Create an exception without a descriptive error message.


NotSerializableException

public NotSerializableException(java.lang.String message)

Create an exception with a descriptive error message, which should be the name of the class.

Parameters: