You are just throwing it. That means nobody handles it.
If you write the code like this. You can handle it yourself:
class fileRead{
public static void main(String []a) {
try {
//do file handling here and call read as well
} catch(IOException e) {
// handle your exception here
e.printStackTrace();
}
}
}