java.io.ObjectStreamException
java.io.IOException
java.io.InvalidClassException,
java.io.InvalidObjectException,
java.io.NotActiveException,
java.io.NotSerializableException,
java.io.OptionalDataException,
java.io.StreamCorruptedException,
java.io.WriteAbortedException
None
New as of JDK 1.1
The ObjectStreamException class is the superclass for all of the serialization exceptions.
public class java.io.ObjectStreamException extends java.io.IOException { // Constructors protected ObjectStreamException(); protected ObjectStreamException(String classname); }
This constructor creates an ObjectStreamException with no detail message.
The name of the class.
This constructor creates an ObjectStreamException with the specified detail message, which should be the name of the class that caused the exception.
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 |
Exception, InvalidClassException, InvalidObjectException, IOException, NotActiveException, NotSerializableException, OptionalDataException, StreamCorruptedException, WriteAbortedException