request.accept(type);
execute(request);
return request.read(type);
}
catch (IOException e) {
throw new StoreConfigException(e);
}
catch (NoCompatibleMediaType e) {
throw new StoreConfigException(e);
}
catch (NumberFormatException e) {
throw new StoreConfigException(e);
}
catch (QueryResultParseException e) {
throw new StoreConfigException(e);
}
catch (RDFParseException e) {
throw new StoreConfigException(e);
}
finally {
request.release();
}
}