Add helper method for running a DB task and logging any exception it throws.

This commit is contained in:
akwizgran
2021-01-26 13:51:03 +00:00
parent 635008fb60
commit c1e83b22c1
16 changed files with 195 additions and 327 deletions

View File

@@ -0,0 +1,6 @@
package org.briarproject.bramble.api;
public interface ThrowingRunnable<T extends Throwable> {
void run() throws T;
}