return parseResponse(resource,response,endpoint);
}
} catch(TupleQueryResultHandlerException ex) {
log.error("repository error while trying to retrieve resource "+resource.stringValue(),ex);
throw new LDClientException("repository error while trying to retrieve resource "+resource.stringValue(),ex);
} catch(QueryResultParseException ex) {
log.error("SPARQL query result parsing error while trying to retrieve resource "+resource.stringValue(),ex);
throw new LDClientException("SPARQL query result parsing error while trying to retrieve resource "+resource.stringValue(),ex);
} catch(RDFParseException ex) {
log.error("RDF parsing error while trying to retrieve resource "+resource.stringValue(),ex);
throw new LDClientException("RDF parsing error while trying to retrieve resource "+resource.stringValue(),ex);
} catch(RepositoryException ex) {
log.error("repository error while trying to retrieve resource "+resource.stringValue(),ex);
throw new LDClientException("repository error while trying to retrieve resource "+resource.stringValue(),ex);
} catch(IOException ex) {
log.error("I/O error while trying to retrieve resource {}: {}",resource.stringValue(),ex.getMessage());
throw new LDClientException("I/O error while trying to retrieve resource "+resource.stringValue(),ex);
} finally {
}
return null;