try {
List<Version> versions = store.getVersions(requestObject.getKey());
// handle non existing key
if(versions.size() > 0) {
GetVersionResponseSender responseConstructor = new GetVersionResponseSender(messageEvent,
requestObject.getKey(),
versions,
storeName);
responseConstructor.sendResponse(performanceStats,
fromLocalZone,
requestObject.getRequestOriginTimeInMs());
} else {
logger.error("Error when doing getversion. Key does not exist or key is null");