class SafeExecutor {

    public <E extends Exception> void execute(FailableRunnable<E> runnable) {
        try {
            runnable.run();
        } catch (Exception e) {
            exceptionHandler.accept(e);
        }
    }

    public  SafeExecutor();
    public  SafeExecutor(Consumer<Exception> exceptionHandler);

}