6364656667686970
transaction.rollback(); } LOGGER.log(Level.SEVERE, "Removes a link[id=" + linkId + "] failed", e); throw new ServiceException(e); } }
104105106107108109110111
transaction.rollback(); } LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ServiceException(e); } }
455456457458459460461462463464
} catch (final Exception e) { if (transaction.isActive()) { transaction.rollback(); } throw new ServiceException(e); } return ret; }
157158159160161162163164
transaction.rollback(); } LOGGER.log(Level.SEVERE, "Changes link's order failed", e); throw new ServiceException(e); } }
576577578579580581582583584585
197198199200201202203204
if (transaction.isActive()) { transaction.rollback(); } LOGGER.log(Level.SEVERE, "Adds a link failed", e); throw new ServiceException(e); } }
610611612613614615616617
if (transaction.isActive()) { transaction.rollback(); } LOGGER.log(Level.ERROR, "Removes a comment of a page failed", e); throw new ServiceException(e); } }
643644645646647648649650
if (transaction.isActive()) { transaction.rollback(); } LOGGER.log(Level.ERROR, "Removes a comment of an article failed", e); throw new ServiceException(e); } }
5556575859606162
*/ public JSONObject getOptionById(final String optionId) throws ServiceException { try { return optionRepository.get(optionId); } catch (final RepositoryException e) { throw new ServiceException(e); } }
99100101102103104105106
ret.put(option.getString(Keys.OBJECT_ID), option.getString(Option.OPTION_VALUE)); } return ret; } catch (final Exception e) { throw new ServiceException(e); } }