public static LongConsumer softenLongConsumer(final CheckedLongConsumer fn) {
        return t -> {
            try {
                fn.accept(t);
            } catch (final Throwable e) {
                throw throwSoftenedException(e);
            }
        };
    }
public static LongConsumer softenLongConsumer ( final CheckedLongConsumer fn ) { return t -> { try { fn . accept ( t ) ; } catch ( final Throwable e ) { throw throwSoftenedException ( e ) ; } } ; }
Soften a CheckedLongConsumer that can throw Checked Exceptions to a standard LongConsumer that can also throw Checked Exceptions (without declaring them)

e.g.

<pre>
{@code
ExceptionSoftener.softenLongConsumer(this::save).accept(data);

public void save(long data) throws IOException
</pre>

@param fn CheckedLongConsumer to be converted to a standard LongConsumer
@return LongConsumer that can throw checked Exceptions