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 exception is thrown when a problem occurs during serialization.
There are more specific subclasses that give more fine grained
indications of the precise failure.
- Since:
- 1.1
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ObjectStreamException
protected ObjectStreamException()
- Create an exception without a descriptive error message.
ObjectStreamException
protected ObjectStreamException(String message)
- Create an exception with a descriptive error message.
- Parameters:
message
- the descriptive error message