public final class SafeRunner extends Object
This class can be used without OSGi running.
|Constructor and Description|
|Modifier and Type||Method and Description|
Runs the given runnable in a protected mode.
public static void run(ISafeRunnable code)
In addition to catching all
Exception types, this method also catches certain
types that typically result from programming errors in the code being executed.
Severe errors that are not generally safe to catch are not caught by this method.
code- the runnable to run
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.