public class StreamCorruptedException extends ObjectStreamException
ObjectInputStream.readObject()
method could not
read an object due to missing information (for example, a cyclic reference
that doesn't match a previous instance, or a missing class descriptor for the
object to be loaded).Constructor and Description |
---|
StreamCorruptedException()
Constructs a new
StreamCorruptedException with its stack trace
filled in. |
StreamCorruptedException(String detailMessage)
Constructs a new
StreamCorruptedException with its stack trace
and detail message filled in. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StreamCorruptedException()
StreamCorruptedException
with its stack trace
filled in.public StreamCorruptedException(String detailMessage)
StreamCorruptedException
with its stack trace
and detail message filled in.detailMessage
- the detail message for this exception.