public class FunctionExceptionHandler
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <R> java.util.function.Supplier<R> |
supplier(ThrowableSupplier<R> supplier)
Converts a
ThrowableSupplier to a
Supplier |
public static <R> java.util.function.Supplier<R> supplier(ThrowableSupplier<R> supplier)
ThrowableSupplier to a
Supplier than can throw exceptions by converting them to unchecked exceptions.supplier - A ThrowableSupplier than can throw any exceptionSupplier of results.Copyright © 2018 SAP SE. All Rights Reserved.