|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.SafeRunner
public final class SafeRunner
Runs the given ISafeRunnable in a protected mode: exceptions thrown in the runnable are logged and passed to the runnable's exception handler. Such exceptions are not rethrown by this method.
This class can be used without OSGi running.
Constructor Summary | |
---|---|
SafeRunner()
|
Method Summary | |
---|---|
static void |
run(ISafeRunnable code)
Runs the given runnable in a protected mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SafeRunner()
Method Detail |
---|
public static void run(ISafeRunnable code)
code
- the runnable to run
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |