/** * @return a safe exception service. */ private static ExceptionService createSafeExceptionService() { try { return new SafeExceptionServiceImpl(); } catch (Throwable t) { LOGGER.error("An exception was thhrown while getting a safe implementation, giving up", t); throw new ExceptionHandlingException(t); } }