Java Fundamental Classes Reference

Previous Chapter 11
The java.io Package
Next
 

NotActiveException

Name

NotActiveException

Synopsis

Class Name:

java.io.NotActiveException

Superclass:

java.io.ObjectStreamException

Immediate Subclasses:

None

Interfaces Implemented:

None

Availability:

New as of JDK 1.1

Description

A NotActiveException is thrown to indicate that an inappropriate method is being called when serialization or deserialization is not in progress.

Class Summary

public class java.io.NotActiveException 
             extends java.io.ObjectStreamException {
  // Constructors
  public NotActiveException();
  public NotActiveException(String reason);
}

Constructors

NotActiveException

public NotActiveException()

Description

This constructor creates a NotActiveException with no detail message.

public NotActiveException(String reason)

Parameters

reason

The detail message.

Description

This constructor creates a NotActiveException with the specified detail message.

Inherited Methods

Method

Inherited From

Method

Inherited From

clone()

Object

equals(Object)

Object

fillInStackTrace()

Throwable

finalize()

Object

getClass()

Object

getLocalizedMessage()

Throwable

getMessage()

Throwable

hashCode()

Object

notify()

Object

notifyAll()

Object

printStackTrace()

Throwable

printStackTrace(PrintStream)

Throwable

printStackTrace(PrintWriter)

Throwable

toString()

Object

wait()

Object

wait(long)

Object

wait(long, int)

Object

   

See Also

Exception, ObjectStreamException, Throwable


Previous Home Next
LineNumberReader Book Index NotSerializableException

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java