Module java.base
Package java.io

Class InterruptedIOException

    • Field Detail

      • bytesTransferred

        public int bytesTransferred
        Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.
    • Constructor Detail

      • InterruptedIOException

        public InterruptedIOException()
        Constructs anInterruptedIOException withnull as its error detail message.
      • InterruptedIOException

        public InterruptedIOException​(String s)
        Constructs anInterruptedIOException with the specified detail message. The strings can be retrieved later by theThrowable.getMessage() method of classjava.lang.Throwable.
        Parameters:
        s - the detail message.