Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::SafeRunner Class Reference

#include <berrySafeRunner.h>

Static Public Member Functions

static void Run (ISafeRunnable::Pointer code)
 

Detailed Description

Runs the given ISafeRunnable in a protected mode: exceptions thrown in the runnable are logged and passed to the runnable's exception handler. Such exceptions are not rethrown by this method.

This class can be used without OSGi running.

Definition at line 35 of file berrySafeRunner.h.

Member Function Documentation

void berry::SafeRunner::Run ( ISafeRunnable::Pointer  code)
static

Runs the given runnable in a protected mode. Exceptions thrown in the runnable are logged and passed to the runnable's exception handler. Such exceptions are not rethrown by this method.

Parameters
codethe runnable to run

Definition at line 30 of file berrySafeRunner.cpp.

Referenced by berry::IntroPart::FirePropertyChange(), berry::WorkbenchPart::FirePropertyChange(), and berry::WorkbenchPart::FirePropertyChanged().


The documentation for this class was generated from the following files: