Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4244774

ThreadGroup.uncaughtException isn't sufficient

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.1.6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: vi73552 Date: 06/08/99


      ThreadGroup.uncaughtException is ok if the user creates a Thread & chooses which ThreadGroup to put it in, but what about GUI threads & their ThreadGroups? It's my understanding that I can't control anything about those threads or their groups, so I have no way to override the default behavior of uncaughtException.

      One alternative might be to define an interface for handling uncaught exceptions & make the current handler a property of ThreadGroup that can be get & set. (I presume that access to setHandler would be checked.)
      (Review ID: 84071)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ehawkessunw Eric Hawkes (Inactive)
              Reporter:
              vasya Vassili Igouchkine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: