You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by afs <gi...@git.apache.org> on 2017/04/15 18:31:09 UTC

[GitHub] jena issue #240: JENA-1321: Improved error handling so response body is not ...

Github user afs commented on the issue:

    https://github.com/apache/jena/pull/240
  
    To check my understanding: the root problem is that the `QueryExceptionHTTP` does not have the `HttpException.getResponse` available.
    
    `QueryExceptionHTTP` can't be an `HttpException` and `QueryException` (separation of HTTP code from query handling). 
    
    If so, maybe it would be better to add the response body to the `QueryExceptionHTTP` - the removal of the `HttpException` level of exception removes a layer of unhelpful stacktrace (the local source of the `HttpException` is not relevant).  By adding the error response to `QueryExceptionHTTP`, the response would be available still.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---