} catch (KAMStoreException e) {
throw new RequestException("Error mapping data", e);
}
KamInfo kamInfo = kam.getKamInfo();
final MapDataResponse res = OBJECT_FACTORY.createMapDataResponse();
for (org.openbel.framework.api.Kam.KamNode kn : nodes) {
res.getKamNodes().add(Converter.convert(kamInfo, kn));
}
return res;
}