All About Class InterruptedIOException in Java

InterruptedIOException is thrown from an application to indicate that an input output operation has been interrupted.

The structure of the class InterruptedIOException is given below:


public class java.io.InterruptedIOException extends java.io.IOException{
//Member elements:
public int bytesTransferred;
//tells us how many bytes has been transferred as part of the IO-operation before it was interrupted.
//constructor
public InterruptedIOException();
//constructs an empty InterruptedIOException object that is an object with no message specified.
public InterruptedIOException(String message);
//constructs an InterruptedIOException object with the message specified.

}
 
All About Class InterruptedIOException in Java All About Class InterruptedIOException in Java Reviewed by Animesh Chatterjee on September 21, 2018 Rating: 5

No comments:

Powered by Blogger.