Полезная информация

Java in a Nutshell

Previous Chapter 24
The java.io Package
Next
 

24.68 java.io.WriteAbortedException (JDK 1.1)

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
}

Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->ObjectStreamException->WriteAbortedException


Previous Home Next
java.io.UTFDataFormatException (JDK 1.0) Book Index java.io.Writer (JDK 1.1)

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