This exception is thrown when reading a stream of data that is incomplete because an exception was thrown while it was being written. The detail field may contain the exception that terminated the output stream. The getMessage() method has been overridden to include the message of this detail exception, if any.
public class WriteAbortedException extends ObjectStreamException { // Public Constructor public WriteAbortedException(String s, Exception ex); // Public Instance Variables public Exception detail; // Public Instance Methods public String getMessage(); // Overrides Throwable }
Object->Throwable(Serializable)->Exception->IOException->ObjectStreamException->WriteAbortedException