package com.github.sevntu.checkstyle.checks.coding; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class InputUselessSingleCatchCheck2 { protected InputUselessSingleCatchCheck2() throws Exception { try { File f =new File("asd"); FileReader w =new FileReader(f); } catch(IOException e) { throw new Exception(e); } } }