| Modifier and Type | Method and Description |
|---|---|
static <In,Out> Function<In,Out> |
Unchecker.uncheck(Unchecker.ThrowingFunction<In,Out> function)
As
Unchecker.uncheck(alexh.Unchecker.ThrowingFunction, java.util.function.Function)
wrapping checked exceptions in RuntimeExceptions |
static <In,Out> Function<In,Out> |
Unchecker.uncheck(Unchecker.ThrowingFunction<In,Out> function,
Function<Throwable,? extends RuntimeException> exTransformer)
Converts Checked throwing function -> standard function, any checked exceptions are wrapped using the input
exception transformer
|
Copyright © 2016. All rights reserved.