- if (log.isTraceEnabled())
- log.trace("Updating SLC execution #"
- + slcExecutionMsg.getUuid());
-
- slcExecutionDao.merge(slcExecutionMsg);
+ throw new SlcException(
+ "There is already an SlcExecution registered with id "
+ + slcExecutionMsg.getUuid());
+ // if (log.isTraceEnabled())
+ // log.trace("Updating SLC execution #"
+ // + slcExecutionMsg.getUuid());
+ //
+ // slcExecutionDao.merge(slcExecutionMsg);