Example:
try {
InputStream f = new FileInputStream("data.txt");
// ...
}
catch (Exception ex) {
System.err.println(ex.getMessage());
}
catch (IOException ex) {
throw ex;
}
Problem because:
Probably a bug; the second catch block is never executed
Severity: medium; hard to spot, but normally not a huge problem