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 run
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.