home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-03-20 | 1.3 KB | 53 lines |
- /*
- * @(#)InterruptedIOException.java 1.9 98/03/18
- *
- * Copyright 1995-1997 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
-
- package java.io;
-
- /**
- * Signals that an I/O operation has been interrupted.
- *
- * @author unascribed
- * @version 1.9, 03/18/98
- * @see java.io.InputStream
- * @see java.io.OutputStream
- * @see java.lang.Thread#interrupt()
- * @since JDK1.0
- */
- public
- class InterruptedIOException extends IOException {
- /**
- * Constructs an <code>InterruptedIOException</code> with no detail
- * message.
- */
- public InterruptedIOException() {
- super();
- }
-
- /**
- * Constructs an <code>InterruptedIOException</code> with the
- * specified detail message.
- *
- * @param s the detail message.
- */
- public InterruptedIOException(String s) {
- super(s);
- }
-
- /**
- * Reports how many bytes had been transferred as part of the I/O
- * operation before it was interrupted.
- */
- public int bytesTransferred = 0;
- }
-