163164165166167168169170
} try { editTaskDescription(validateAndCreate(taskElement)); } catch (Exception e) { String msg = "Error editing Task"; throw new TaskManagementException(msg, e); } }
301302303304305306307
* @param msg message to be logged * @throws TaskManagementException TaskManagementException */ private static void handleException(String msg) throws TaskManagementException { log.error(msg); throw new TaskManagementException(msg); }
313314315316317318319
* @param e exception thrown * @throws TaskManagementException TaskManagementException */ private static void handleException(String msg, Exception e) throws TaskManagementException { log.error(msg, e); throw new TaskManagementException(msg, e); }
177178179180181182183184
294295296297298299300
306307308309310311312