Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/io/InterruptedIOException.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.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.
    33
    44This file is part of GNU Classpath.
     
    88the Free Software Foundation; either version 2, or (at your option)
    99any later version.
    10  
     10
    1111GNU Classpath is distributed in the hope that it will be useful, but
    1212WITHOUT ANY WARRANTY; without even the implied warranty of
     
    3939package java.io;
    4040
    41 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
    42  * "The Java Language Specification", ISBN 0-201-63451-1
    43  * Status:  Complete to 1.1.
    44  */
    45 
    4641/**
    47   * This exception is thrown when a in process I/O operation is
    48   * interrupted for some reason.  The field bytesTransferred will contain
    49   * the number of bytes 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.
    5045  *
    51   * @version 0.0
    52   *
    53   * @author Aaron M. Renn ([email protected])
     46  * @author Aaron M. Renn <[email protected]>
    5447  * @author Tom Tromey <[email protected]>
    55   * @date September 24, 1998
     48  * @see Thread#interrupt()
     49  * @status updated to 1.4
    5650  */
    5751public class InterruptedIOException extends IOException
    5852{
     53
     54
     55
     56
    5957
    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;
    6164
    62 /*
    63  * Instance Variables
    64  */
     65  /**
     66   * Create an extends without a descriptive error message.
     67   */
     68  public InterruptedIOException()
     69  {
     70  }
    6571
    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  }
    7081
    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  }
    11494} // class InterruptedIOException
    115 
Note: See TracChangeset for help on using the changeset viewer.