java.io
Class ObjectStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidClassException, InvalidObjectException, NotActiveException, NotSerializableException, OptionalDataException, StreamCorruptedException, WriteAbortedException
public abstract class ObjectStreamException
- extends IOException
This is the superclass of all exceptions that can happen when serializing or
deserialing objects. The state of the stream is unknown when one of these
serialization-related exceptions are thrown.
- See Also:
InvalidObjectException,
NotActiveException,
NotSerializableException,
OptionalDataException,
StreamCorruptedException,
WriteAbortedException,
Serialized Form
|
Constructor Summary |
protected |
ObjectStreamException()
Constructs a new instance of this class with its walkback filled in. |
protected |
ObjectStreamException(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ObjectStreamException
protected ObjectStreamException()
- Constructs a new instance of this class with its walkback filled in.
ObjectStreamException
protected ObjectStreamException(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