Java – IOException
IOException: A general exception thrown when an I/O operation fails or is interrupted.
Example:
import java.io.FileReader;
import java.io.IOException;
try {
FileReader reader = new FileReader("test.txt");
} catch (IOException e) {
System.out.println("Caught IOException: " + e.getMessage());
}
No images available.