private void WithExceptionHandlingInCallback(IRunnable runnable) { try { InCallback.Run(runnable); } catch (Db4oException e) { throw; } catch (Exception x) { throw new EventException(x); } }
internal static extern void InvokeInCallback(InCallback callback, IntPtr handle);