@Override public Void call() throws Exception { sendProperties(req, resp, effectiveProperties); return null; }
@Override public Void call() throws Exception { sendProperties(req, resp, effectiveProperties); return null; }
@Override public Void call() throws Exception { try { final BigdataSailRepositoryConnection conn = getQueryConnection(); try { final Properties properties = PropertyUtil .flatCopy(conn.getTripleStore().getProperties()); sendProperties(req, resp, properties); return null; } finally { conn.close(); } } catch(Throwable t) { if(InnerCause.isInnerCause(t, DatasetNotFoundException.class)) { /* * There is no such triple/quad store instance. */ throw new HttpOperationException( HttpServletResponse.SC_NOT_FOUND, BigdataServlet.MIME_TEXT_PLAIN, "Not found: namespace=" + namespace); } throw new RuntimeException(t); } }
@Override public Void call() throws Exception { try { final BigdataSailRepositoryConnection conn = getQueryConnection(); try { final Properties properties = PropertyUtil .flatCopy(conn.getTripleStore().getProperties()); sendProperties(req, resp, properties); return null; } finally { conn.close(); } } catch(Throwable t) { if(InnerCause.isInnerCause(t, DatasetNotFoundException.class)) { /* * There is no such triple/quad store instance. */ throw new HttpOperationException( HttpServletResponse.SC_NOT_FOUND, BigdataServlet.MIME_TEXT_PLAIN, "Not found: namespace=" + namespace); } throw new RuntimeException(t); } }