Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11364

Allow dedicated handling of networking issues

    XMLWordPrintableJSON

Details

    Description

      Right now the ClientException is the only exception which is used to report unexpected situations, including:

      • networking errors (e.g. timeouts)
      • unexpected statuscodes
      • or otherwise unexpected results.

      This makes is hard at the level of a test driver to easily split between infrastructure errors and actual test failures, because it always needs a lock into the logs of the test execution to distinguish these.

      To make such a change backwards-compatible, new Exceptions should be introduced which inherit from the existing ClientException. This does not require any changes to signatures, but allow the test-driver to clearly distinguish these different types of errors.

      Attachments

        Activity

          People

            joerghoh Joerg Hoh
            joerghoh Joerg Hoh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m