java.io.WriteAbortedException
java.io.ObjectStreamException
None
None
New as of JDK 1.1
A WriteAbortedException is thrown during object deserialization when the stream of data is incomplete because an exception was thrown while it was being written. Thus, WriteAbortedException represents an exception that was thrown during object serialization and serialized into the stream.
public class java.io.WriteAbortedException extends java.io.ObjectStreamException { // Variables public Exception detail; // Constructors public WriteAbortedException(String s, Exception ex); // Instance Methods public String getMessage(); }
The exception that was thrown during serialization; it is a subclass of ObjectStreamException.
A description of the reason this exception was thrown.
The exception that was thrown during serialization.
This constructor creates a WriteAbortedException with the specified reason string. The created exception wraps the given exception thrown during serialization.
The detail message for this exception.
Throwable.getMessage()
This method returns the detail message of this exception, as well the detail message of the nested exception if it exists.
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, ObjectStreamException, Throwable
This HTML Help has been published using the chm2web software. |