RepositoryConnection connection = Graph.this.getConnectionFactory().createConnection(getSourceName());
if (connection == null) {
throw new RepositorySourceException(GraphI18n.unableToFindRepositorySourceWithName.text(getSourceName()));
}
try {
connection.execute(Graph.this.getContext(), request);
} finally {
connection.close();
}
if (request.hasError()) {
Throwable error = request.getError();