Uses of Interface
ru.ilb.jfunction.exception.ExceptionalFunction
-
-
Uses of ExceptionalFunction in ru.ilb.jfunction.exception
Methods in ru.ilb.jfunction.exception with parameters of type ExceptionalFunction Modifier and Type Method Description static <T,R extends AutoCloseable>
TExceptionalFunctionUtils. tryWithResources(ExceptionalResourceSupplier<R> resourceSupplier, ExceptionalFunction<R,T,Exception> consumer)Functional try-with-resources with default exception translator functionstatic <T,R extends AutoCloseable>
TExceptionalFunctionUtils. tryWithResources(ExceptionalResourceSupplier<R> resourceSupplier, ExceptionalFunction<R,T,Exception> consumer, Supplier<T> fallbackSupplier)Functional try-with-resourcesstatic <T,R extends AutoCloseable>
TExceptionalFunctionUtils. tryWithResources(ExceptionalResourceSupplier<R> resourceSupplier, ExceptionalFunction<R,T,Exception> consumer, RuntimeExceptionFunction runtimeExceptionFunction)Functional try-with-resources with exception translator function
-