当前页面:
在线文档首页 >
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class NotSerializableException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
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
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.