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
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.
- Since:
- JDK1.1
- See Also:
- Serialized Form
NotSerializableException
public NotSerializableException(String classname)
- Parameters:
classname
- Class of the instance being serialized/deserialized.
NotSerializableException
public NotSerializableException()
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.