java.io
Class ObjectStreamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Constructor Summary
protected ObjectStreamException()
          Create an exception without a descriptive error message.
protected ObjectStreamException(String message)
          Create an exception with a descriptive error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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