java.io.StreamCorruptedException (JDK 1.1)
This exception signals that the data stream being read by an ObjectInputStream has been corrupted and does not contain valid serialized object data.
public classStreamCorruptedExceptionextends ObjectStreamException { //Public ConstructorspublicStreamCorruptedException(Stringreason); publicStreamCorruptedException(); }
Hierarchy:
Object->Throwable(Serializable)->Exception->IOException->ObjectStreamException->StreamCorruptedException
Thrown By:
ObjectInputStream(), ObjectInputStream.readStreamHeader()