#

| Chapter 24 The java.io Package |

## 24.44 java.io.ObjectStreamException (JDK 1.1)

###

This class is the superclass of a number of more specific exception types that may be raised in the process of serializing and deserializing objects with the `ObjectOutputStream` and `ObjectInputStream` classes.

    public abstract class ObjectStreamException extends IOException {
        // Protected Constructors
                protected ObjectStreamException(String classname);
                protected ObjectStreamException();
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->ObjectStreamException

### Extended By:

InvalidClassException, InvalidObjectException, NotActiveException, NotSerializableException, OptionalDataException, StreamCorruptedException, WriteAbortedException

java.io.ObjectStreamClass (JDK 1.1) |  | java.io.OptionalDataException (JDK 1.1)