Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9521

PollThread should catch specific Exception if #beginPolling fails

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M3
    • 3.3.0.M3
    • server
    • None

      PollThread catches a general purpose Exception if #beginPolling fails:

      try {
      	poller.beginPolling(getServer(), expectedState);
      	...
      } catch(Exception e) {
      	abort = true;
      }
      

      This could swallow failure causes that are not caused by #beginPolling failing.

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: