class Fun {

    public static <K, V> ThrowingBiFunction<K, V, Nothing>
    throwingVoidToNothing2(final @NotNull ThrowingBiConsumer<? super K, ? super V> mayThrowOnAccept) {
        return (inputK, inputV) -> {
            mayThrowOnAccept.tryAccept(inputK, inputV);
            return Nothing.instance;
        };
    }

    private  Fun();

}