Team LiB
Previous Section Next Section

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( )

    Team LiB
    Previous Section Next Section