81828384858687888990
} catch (Exception e) { if (log.isDebugEnabled()) { log.debug("Error getting principal " + e); } throw new ServiceUnavailableException(i18n .tr("Error contacting user service")); } return null; }
8990919293949596
private JobStatus scheduleJob(JobDetail detail) { try { return this.pinsetterKernel.scheduleSingleJob(detail); } catch (PinsetterException e) { throw new ServiceUnavailableException("Error scheduling refresh job.", e); } }
104105106107108109110111
} @Override public void activateSubscription(Consumer consumer, String email, String emailLocale) { throw new ServiceUnavailableException( i18n.tr("Standalone candlepin does not support redeeming a subscription.")); }
112113114115116117118119
} return ""; } catch (CuratorException e) { log.error("couldn't read rules file", e); throw new ServiceUnavailableException(i18n.tr("couldn't read rules file")); } }
606162636465666768
try { statisticCurator.executeStatisticRun(); } catch (HibernateException e) { log.error("Cannot store: ", e); throw new ServiceUnavailableException(i18n.tr("couldn't generate statistics")); } log.info("Successful statistic generation"); }