You almost never will want to use e.printStackTrace(). log.error (with a descriptive message, see above comment) is much better.