178179180181182183184185186187
ret.put(PREFERENCE, preference); ret.put(Keys.STATUS_CODE, StatusCodes.GET_PREFERENCE_SUCC); } catch (final Exception e) { LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ActionException(e); } return ret; }
346347348349350351352353354355
} catch (final Exception e) { if (transaction.isActive()) { transaction.rollback(); } LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ActionException(e); } return ret; }
252253254255256257258259260261
339340341342343344345346347348
PageCaches.removeAll(); ret.put(Keys.OBJECT_IDS, importedIds); } catch (final JSONException e) { LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ActionException(e); } return ret; }
496497498499500501502503504505
548549550551552553554555556557
final List<String> archiveDates = metaWeblog.getArchiveDates(); ret.put(BLOG_SYNC_EXTERNAL_ARCHIVE_DATES, archiveDates); } catch (final JSONException e) { LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ActionException(e); } return ret; }
9596979899100101102103104
ret.put(Keys.STATUS_CODE, StatusCodes.GET_LINK_SUCC); LOGGER.log(Level.FINER, "Got a link[oId={0}]", linkId); } catch (final Exception e) { LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ActionException(e); } return ret; }
162163164165166167168169170171
ret.put(Pagination.PAGINATION, pagination); ret.put(Link.LINKS, links); ret.put(Keys.STATUS_CODE, StatusCodes.GET_LINKS_SUCC); } catch (final Exception e) { LOGGER.log(Level.SEVERE, e.getMessage(), e); throw new ActionException(e); } return ret; }
283284285286287288289290291292293
try { ret.put(Keys.STATUS_CODE, StatusCodes.UPDATE_LINK_FAIL_); } catch (final JSONException ex) { LOGGER.log(Level.SEVERE, ex.getMessage(), ex); throw new ActionException(ex); } } return ret; }
342343344345346347348349350351352
try { ret.put(Keys.STATUS_CODE, StatusCodes.REMOVE_LINK_FAIL_); } catch (final JSONException ex) { LOGGER.log(Level.SEVERE, ex.getMessage(), ex); throw new ActionException(ex); } } return ret; }