log.error("error while getting repository connection");
throw new MarmottaException("error while getting repository connection",ex);
} catch (QueryEvaluationException e) {
throw new MarmottaException("error while evaluating SPARQL query "+query,e);
} catch (MalformedQueryException e) {
throw new InvalidArgumentException("malformed SPARQL query ("+query+") for language "+queryLanguage,e);
}
log.debug("SPARQL execution took {}ms",System.currentTimeMillis()-start);
return result;
}