fetcher = new PropertiesFetcher(endpoint, dbHelper);
} else {
fetcher = new ClassesFetcher(endpoint, dbHelper);
}
try {
fetcher.fetch();
} catch (Exception e) {
statusObj = generateStatusObject("failed", "Exception message: " + e.getMessage(), AutocompletionStatusLevel.ERROR);
}
fetchCompletions(FetchMethod.QUERY_RESULTS);
}