writer.flush();
}
catch(TransformerConfigurationException e)
{
log.error("could not compile stylesheet for rendering SPARQL results; result display not available!");
throw new QueryResultHandlerException("could not compile stylesheet for rendering SPARQL results; result display not available!", e);
}
catch(Exception ex)
{
throw new QueryResultHandlerException("error while transforming XML results to HTML", ex);
}
finally
{
// writer.close();
}