I'm doing some code cleaning, removing catch Throwable and catch Exception, but I noticed some odd behavior in Eclipse.
In this piece of code, Eclipse will mark the IOException path as unreachable, which is correct, but not the Exception path. Isn't the Exception path equally unreachable? java.lang.Exception is a checked Exception? Right?
try {
log.info("Some message");
} catch (IOException e) {
log.debug(e.getMessage(), e);
} catch (Exception e) {
log.info(e.getMessage(), e);
}