List<JbsLanguage> languages = langRemote.getAllLanguages();
Iterator<JbsLanguage> it = languages.iterator();
while (it.hasNext()) {
JbsLanguage language = it.next();
JbsLangString langString = new JbsLangString(language);
langString.setText(transaction.getTextBefore(language));
langStrings.add(langString);
}
} catch (Exception e) {
logger.error("Error retrieving transaction-texts.", e);
e.printStackTrace();