Bug 165534 - [common] Provide method SafeRunner#run(ISafeRunnable code, boolean log)
Summary: [common] Provide method SafeRunner#run(ISafeRunnable code, boolean log)
Status: NEW
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Components (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: equinox.compendium-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 16:41 EST by Jared Burns CLA
Modified: 2019-09-06 16:11 EDT (History)
0 users

See Also:


Attachments
SafeRunner.patch (1.66 KB, patch)
2006-11-22 16:42 EST, Jared Burns CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2006-11-22 16:41:12 EST
SafeRunner#run(ISafeRunnable) always logs any exceptions it catches. However, it is common that there are some expected exceptions which should not be logged. SafeRunner's logging behavior should be parameterized.

I would like to see the following method added to SafeRunner:
  public static void run(ISafeRunnable code, boolean log)
Comment 1 Jared Burns CLA 2006-11-22 16:42:02 EST
Created attachment 54371 [details]
SafeRunner.patch

The attached patch implements the requested API.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:11:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.