Changed printStackStrace() to Logger.getGlobal.throwing()