- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/io/InterruptedIOException.java (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/io/InterruptedIOException.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 /* InterruptedIOException.java -- An I/O operation was interrupted.2 Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.1 /* InterruptedIOException.java -- 2 Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. 3 3 4 4 This file is part of GNU Classpath. … … 8 8 the Free Software Foundation; either version 2, or (at your option) 9 9 any later version. 10 10 11 11 GNU Classpath is distributed in the hope that it will be useful, but 12 12 WITHOUT ANY WARRANTY; without even the implied warranty of … … 39 39 package java.io; 40 40 41 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-342 * "The Java Language Specification", ISBN 0-201-63451-143 * Status: Complete to 1.1.44 */45 46 41 /** 47 * This exception is thrown when a in process I/O operation is 48 * interrupted for some reason. The field bytesTransferred will contain49 * the number ofbytes that were read/written prior to the interruption.42 * This exception is thrown when a in process I/O operation is 43 * 44 * bytes that were read/written prior to the interruption. 50 45 * 51 * @version 0.0 52 * 53 * @author Aaron M. Renn ([email protected]) 46 * @author Aaron M. Renn <[email protected]> 54 47 * @author Tom Tromey <[email protected]> 55 * @date September 24, 1998 48 * @see Thread#interrupt() 49 * @status updated to 1.4 56 50 */ 57 51 public class InterruptedIOException extends IOException 58 52 { 53 54 55 56 59 57 60 private static final long serialVersionUID = 4020568460727500567L; 58 /** 59 * The number of bytes read/written prior to the interruption. 60 * 61 * @serial count of bytes successfully transferred 62 */ 63 public int bytesTransferred; 61 64 62 /* 63 * Instance Variables 64 */ 65 /** 66 * Create an extends without a descriptive error message. 67 */ 68 public InterruptedIOException() 69 { 70 } 65 71 66 /** 67 * The number of bytes read/written prior to the interruption 68 */ 69 public int bytesTransferred; 72 /** 73 * Create an exception with a descriptive error message. 74 * 75 * @param message the descriptive error message 76 */ 77 public InterruptedIOException(String message) 78 { 79 super(message); 80 } 70 81 71 /*************************************************************************/ 72 73 /* 74 * Constructors 75 */ 76 77 /** 78 * Create a new InterruptedIOException without a descriptive error message 79 */ 80 public 81 InterruptedIOException() 82 { 83 super(); 84 } 85 86 /*************************************************************************/ 87 88 /** 89 * Create a new InterruptedIOException with a descriptive error message String 90 * 91 * @param message The descriptive error message 92 */ 93 public 94 InterruptedIOException(String message) 95 { 96 super(message); 97 } 98 99 /*************************************************************************/ 100 101 /** 102 * Create a new InterruptedIOException with a descriptive error message 103 * String. Also sets the value of the bytesTransferred field. 104 * 105 * @param message The descriptive error message 106 * @param bytesTransferred The number of bytes tranferred before the interruption 107 */ 108 InterruptedIOException(String message, int bytesTransferred) 109 { 110 super(message); 111 this.bytesTransferred = bytesTransferred; 112 } 113 82 /** 83 * Create an exception with a descriptive error message and count of 84 * bytes transferred. 85 * 86 * @param message the descriptive error message 87 * @param bytesTransferred number of bytes tranferred before interruption 88 */ 89 InterruptedIOException(String message, int bytesTransferred) 90 { 91 super(message); 92 this.bytesTransferred = bytesTransferred; 93 } 114 94 } // class InterruptedIOException 115 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
