Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <berrySafeRunner.h>
Static Public Member Functions | |
static void | Run (ISafeRunnable::Pointer code) |
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 31 of file berrySafeRunner.h.
|
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.
code | the runnable to run |