public void deleteResourceAllocation(ResourceMaster resourceMaster) { ResourceAllocation resourceAllocation = resourceAllocationDao.getResourceAllocationById(resourceMaster.getResourceId()); try { resourceAllocationDao.deleteResourceAllocation(resourceAllocation); } catch (Exception e) { LOG.error(ImiDataFormatUtils.getStackTrace(e)); } }