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
public abstract class OslcSafeRunnable extends SafeRunnable
Implements a ISafeRunnable than handles exceptions raised by OSLC clients.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description OslcSafeRunnable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleException(Throwable e)
Opens 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, setRunner
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.core.runtime.ISafeRunnable
run
-
-
-
-
Method Detail
-
handleException
public void handleException(Throwable e)
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:
handleException
in interfaceISafeRunnable
- Overrides:
handleException
in classSafeRunnable
-
-