public void run(){ try { syncService.progress(topicId, state); callback.success(); } catch (Throwable e) { callback.error(e); } } });
@Override public void map(EndPoint endPoint) throws UserException, ServerException, BimserverDatabaseException { try { endPoint.getNotificationInterface().progress(key.getId(), new SConverter().convertToSObject(state)); } catch (Exception e) { LOGGER.error("", e); } } });