WriteAbortedException


WriteAbortedException java.io

Java 1.1 serializable checked

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. In Java 1.4 and later, this exception can also be obtained with the standard Throwable getCause( ) method. The getMessage( ) method has been overridden to include the message of this detail exception, if any.

Figure 9-64. java.io.WriteAbortedException

 public class  WriteAbortedException  extends ObjectStreamException {  // Public Constructors  public  WriteAbortedException  (String  s  , Exception  ex  );  // Public Methods Overriding Throwable   1.4  public Throwable  getCause  ( );        public String  getMessage  ( );  // Public Instance Fields  public Exception  detail  ;   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net