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 Details

    • OslcSafeRunnable

      public OslcSafeRunnable()
  • Method Details

    • 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 interface ISafeRunnable
      Overrides:
      handleException in class SafeRunnable