Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-969

Better handle uncaught exceptions in background threads in Pivot

    XMLWordPrintableJSON

Details

    Description

      PIVOT-916 regularized the handling of uncaught exceptions in most places in the GUI thread and during startup. But background threads can still basically ignore uncaught exceptions. But using the Thread.setDefaultUncaughtExceptionHandler and changing some of our interfaces (namely Application.UncaughtExceptionHandler) we could use the ApplicationContext.handleUncaughtException as the default exception handler (which delegates to an application's override method).

      This would involve changing the signature (or adding an override method) that accepts (Thread, Throwable) in both ApplicationContext and Application.UncaughtExceptionHandler interface.

      Attachments

        1. handler.diffs
          3 kB
          Roger Lee Whitcomb
        2. task.patch
          1 kB
          Roger Lee Whitcomb

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: