void (@NotNull ThrowableRunnable<? extends Throwable> runnable) { try { runnable.run(); } catch (Throwable e) { //noinspection InstanceofCatchParameter if (e instanceof InvocationTargetException) { ExceptionUtil.rethrowAllAsUnchecked(e.getCause()); } ExceptionUtil.rethrowAllAsUnchecked(e); } }