All About Class IOException in Java

IOException is throen from an application to indicate that an IOException or some sort of Exception has occurred. It also covers the general IO failures and inability to read from a file.

The structure of the class IOException  is given as  :


public class java.io.IOException extends java.lang.Exception{
//constructor
public IOException();
//constructs an empty IOException object that is an object with no message specified.
public IOException(String message);
//constructs an IOException object with the message specified.

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

No comments:

Powered by Blogger.