Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1082

Exception Handling in Reasoner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Reasoners
    • None

    Description

      The reasoner is eating exception preventing correct handling by caller and identification of the cause.

      E.g.

                    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);
      

      Attachments

        Activity

          People

            reto Reto Gmür
            reto Reto Gmür
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: