159160161162163164165166167168169
} NucleusLogger.VALUEGENERATION.info(LOCALISER.msg("040005")); if (!createRepository()) { throw new ValueGenerationException(LOCALISER.msg("040002")); } else { if (number < 0) {
8889909192939495969798
} catch (SQLException e) { //TODO adds a message correspondent to the exception. //we need to work to create user friendly messages throw new ValueGenerationException(e.getMessage()); } finally { try {
5657585960616263646566
ValueGenerationBlock block = new ValueGenerationBlock(new String[]{id}); return block; } catch (Exception e) { throw new ValueGenerationException(e.getMessage(), e); } finally { connectionProvider.releaseConnection(); }