public static DoubleConsumer doubleConsumer(CheckedDoubleConsumer consumer) {
        return doubleConsumer(consumer, THROWABLE_TO_RUNTIME_EXCEPTION);
    }
Wrap a {@link CheckedDoubleConsumer} in a {@link DoubleConsumer}.
<p>
Example:
<pre><code>
Arrays.stream(new double[] { 1.0, 2.0 }).forEach(Unchecked.doubleConsumer(d -> {
    if (d &lt; 0.0)
        throw new Exception("Only positive numbers allowed");
}));
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Unchecked.java