Java in a Nutshell

Previous Chapter 24
The java.io Package
Next
 

24.36 java.io.NotActiveException (JDK 1.1)

This exception is thrown in several circumstances. It indicates that the invoked method was not invoked at the right time or in the correct context. Typically it means that an ObjectOutputStream or ObjectInputStream is not currently active, and therefore the requested operation could not be performed.

public class NotActiveException extends ObjectStreamException {
    // Public Constructors
            public NotActiveException(String reason);
            public NotActiveException();
}

Hierarchy:

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

Thrown By:

ObjectInputStream.defaultReadObject(), ObjectInputStream.registerValidation()


Previous Home Next
java.io.LineNumberReader (JDK 1.1) Book Index java.io.NotSerializableException (JDK 1.1)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.