Reto Bachmann-Gmür created STANBOL-1082:
-------------------------------------------
Summary: Exception Handling in Reasoner
Key: STANBOL-1082
URL: https://issues.apache.org/jira/browse/STANBOL-1082
Project: Stanbol
Issue Type: Bug
Reporter: Reto Bachmann-Gmür
The reasoner is eating exception preventing correct handling by caller and
identification of the cause.
E.g.
{code}
return new ResponseTaskBuilder(uriInfo, context,
headers).build(result);
} catch (InconsistentInputException e) {
new WebApplicationException(e);
} catch (ReasoningServiceException e) {
new WebApplicationException(e);
} catch (UnsupportedTaskException e) {
new WebApplicationException(e);
} catch (Exception e) {
new WebApplicationException(e);
}
throw new WebApplicationException(new Exception("Error"),
Response.Status.INTERNAL_SERVER_ERROR);
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira