home *** CD-ROM | disk | FTP | other *** search
Java Source | 1999-05-28 | 1.1 KB | 40 lines | [TEXT/CWIE] |
- /*
- * @(#)NotSerializableException.java 1.8 98/06/29
- *
- * Copyright 1996-1998 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
-
- package java.io;
-
- /**
- * 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.
- *
- * @author unascribed
- * @version 1.8, 06/29/98
- * @since JDK1.1
- */
- public class NotSerializableException extends ObjectStreamException {
- /**
- * @param classname Class of the instance being serialized/deserialized.
- */
- public NotSerializableException(String classname) {
- super(classname);
- }
-
- /**
- */
- public NotSerializableException() {
- super();
- }
- }
-