public static DoubleUnaryOperator doubleUnaryOperator(CheckedDoubleUnaryOperator operator) {
        return doubleUnaryOperator(operator, THROWABLE_TO_RUNTIME_EXCEPTION);
    }
Wrap a {@link CheckedDoubleUnaryOperator} in a {@link DoubleUnaryOperator}.
<p>
Example:
<pre><code>
LongStream.of(1.0, 2.0, 3.0).map(Unchecked.doubleUnaryOperator(d -> {
    if (d &lt; 0.0)
        throw new Exception("Only positive numbers allowed");

    return d;
}));
</code></pre>
jOOL/src/main/java/org/jooq/lambda/Unchecked.java