@Override public boolean updateSend(Send send) { boolean resultFlag = true; try { if (null != send) { boolean updateRouteFlag = sendDao.updateSend(send); // call update send method if (!updateRouteFlag) { throw new RuntimeException("SendManagerImpl.updateSend.fail."); } } else { log.debug("SendManagerImpl.updateSend.parameter.empty."); throw new RuntimeException("SendManagerImpl.updateSend.parameter.empty."); } } catch (Exception e) { resultFlag = false; log.error(e); // System.out.println(e); } return resultFlag; }