java.io
Class StreamCorruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
java.io.StreamCorruptedException
- All Implemented Interfaces:
- Serializable
public class StreamCorruptedException
- extends ObjectStreamException
When readObject() cannot read an object from the input stream due to missing
information (cyclic reference that doesn't match previous instance or missing
class descriptor for instance to be loaded) this type of exception is thrown.
- See Also:
ObjectInputStream,
OptionalDataException,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
StreamCorruptedException
public StreamCorruptedException()
- Constructs a new instance of this class with its walkback filled in.
StreamCorruptedException
public StreamCorruptedException(String detailMessage)
- Constructs a new instance of this class with its walkback and message
filled in.
- Parameters:
detailMessage - the detail message for the exception.
Please submit a feedback, bug or feature