Package org.eclipse.ui.internal
Class EarlyStartupRunnable
java.lang.Object
org.eclipse.jface.util.SafeRunnable
org.eclipse.ui.internal.EarlyStartupRunnable
- All Implemented Interfaces:
ISafeRunnable
A utility class used to call #earlyStartup on the proper instance for a given
configuration element.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleException
(Throwable exception) Handles an exception thrown by this runnable'sISafeRunnable.run()
method.void
run()
Runs this runnable.Methods inherited from class org.eclipse.jface.util.SafeRunnable
getIgnoreErrors, getIgnoreErrors, getRunner, run, setIgnoreErrors, setRunner
-
Constructor Details
-
EarlyStartupRunnable
- Parameters:
extension
- must not be null
-
-
Method Details
-
run
Description copied from interface:ISafeRunnable
Runs this runnable. Any exceptions thrown from this method will be logged by the caller and passed to this runnable'sISafeRunnable.handleException(java.lang.Throwable)
method.- Throws:
Exception
- if a problem occurred while running this method- See Also:
-
handleException
Description copied from interface:ISafeRunnable
Handles an exception thrown by this runnable'sISafeRunnable.run()
method. The processing done here should be specific to the particular use case for this runnable. Generalized exception processing, including logging in the Platform's log, is done by theSafeRunner
.All exceptions from the
ISafeRunnable.run()
method are passed to this method, along with certainError
types that are typically caused by programming errors in the untrusted code being run.- Specified by:
handleException
in interfaceISafeRunnable
- Overrides:
handleException
in classSafeRunnable
- Parameters:
exception
- an exception which occurred during processing the body of this runnable (i.e., inISafeRunnable.run()
)- See Also:
-