- /*
- * @(#)StreamCorruptedException.java 1.11 00/02/02
- *
- * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the proprietary information of Sun Microsystems, Inc.
- * Use is subject to license terms.
- *
- */
-
- package java.io;
-
- /**
- * Thrown when control information that was read from an object stream
- * violates internal consistency checks.
- *
- * @author unascribed
- * @version 1.11, 02/02/00
- * @since JDK1.1
- */
- public class StreamCorruptedException extends ObjectStreamException {
- /**
- * Create a StreamCorruptedException and list a reason why thrown.
- *
- * @param reason String describing the reason for the exception.
- */
- public StreamCorruptedException(String reason) {
- super(reason);
- }
-
- /**
- * Create a StreamCorruptedException and list no reason why thrown.
- */
- public StreamCorruptedException() {
- super();
- }
- }