org.eclipse.core.runtime
public final class SafeRunner extends Object
This class can be used without OSGi running.
| Constructor and Description |
|---|
SafeRunner() |
public static void run(ISafeRunnable code)
In addition to catching all Exception types, this method also catches certain Error
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 runGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.