Package com.sodius.oslc.client.ui.util
Class OslcSafeRunnable
java.lang.Object
org.eclipse.jface.util.SafeRunnable
com.sodius.oslc.client.ui.util.OslcSafeRunnable
- All Implemented Interfaces:
ISafeRunnable
Implements a ISafeRunnable than handles exceptions raised by OSLC clients.
- Since:
- 1.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOpens an error dialog to display common exceptions raised by OSLC clients.Methods inherited from class org.eclipse.jface.util.SafeRunnable
getIgnoreErrors, getIgnoreErrors, getRunner, run, setIgnoreErrors, setRunnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.ISafeRunnable
run
-
Constructor Details
-
OslcSafeRunnable
public OslcSafeRunnable()
-
-
Method Details
-
handleException
Opens an error dialog to display common exceptions raised by OSLC clients. The implementation delegates to the super class for non expected exceptions.- Specified by:
handleExceptionin interfaceISafeRunnable- Overrides:
handleExceptionin classSafeRunnable
-