void () { try{ if(bar()){ throw new FileNotFoundException(); } else{ throw new EOFException(); } } catch(FileNotFoundException e){ e.printStackTrace(); } catch(<warning descr="'catch' of 'IOException' is too broad, masking exception 'EOFException'">IOException</warning> e){ e.printStackTrace(); } }