Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 177
نمايش فراداده

StreamCorruptedExceptionjava.io

Java 1.1serializable checked

Signals that the data stream being read by an ObjectInputStream has been corrupted and does not contain valid serialized object data.

Figure 9-57. java.io.StreamCorruptedException

public class

StreamCorruptedException extends ObjectStreamException { // Public Constructors public

StreamCorruptedException ( ); public

StreamCorruptedException (String

reason ); }

Thrown By

ObjectInputStream.readStreamHeader( )