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 an InterruptedIOException with null as its error detail message.
      • InterruptedIOException

        public InterruptedIOException​(String s)
        Constructs an InterruptedIOException with the specified detail message. The string s can be retrieved later by the Throwable.getMessage() method of class java.lang.Throwable.
        Parameters:
        s - the detail message.