Java Fundamental Classes Reference

Previous Chapter 11
The java.io Package
Next
 

NotSerializableException

Name

NotSerializableException

Synopsis

Class Name:

java.io.NotSerializableException

Superclass:

java.io.ObjectStreamException

Immediate Subclasses:

None

Interfaces Implemented:

None

Availability:

New as of JDK 1.1

Description

A NotSerializableException is thrown to indicate that a class can't be serialized.

Class Summary

public class java.io.NotSerializableException
             extends java.io.ObjectStreamException {
  // Constructors
  public NotSerializableException();
  public NotSerializableException(String classname);
}

Constructors

NotSerializableException

public NotSerializableException()

Description

This constructor creates a NotSerializableException with no class name.

public NotSerializableException(String classname)

Parameters

classname

The name of the class that can't be serialized.

Description

This constructor creates a NotSerializableException with the specified class name.

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
NotActiveException Book Index ObjectInput

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