String[] availableLanguages = new String[availableLiterals.length];
for (int i = 0; i < availableLiterals.length; i++) {
availableLanguages[i] = availableLiterals[i]
.getLanguage();
}
throw new LanguageUnavailableException(
"language not available, available version: "
+ availableLiterals, availableLanguages);
//} else {
//return availableLiterals;
//return model.createLiteral("");