I have a block of code below for IO operations where in i want to cover the code for catch block.
finally {
try {
if (br != null) {
br.close();
}
} catch (IOException ioe) {
ioe.printStackTrace();
}
}