/// <summary> /// Handles errors in processing SPARQL Query Requests /// </summary> /// <param name="context">Context of the HTTP Request</param> /// <param name="title">Error title</param> /// <param name="query">Sparql Query</param> /// <param name="ex">Error</param> /// <param name="statusCode">HTTP Status Code to return</param> protected virtual void HandleQueryErrors(HttpServerContext context, String title, String query, Exception ex, int statusCode) { HandlerHelper.HandleQueryErrors(new ServerContext(context), this._config, title, query, ex, statusCode); context.Response.OutputStream.Flush(); }