Uses of Interface
org.springframework.util.function.ThrowingFunction
Packages that use ThrowingFunction
Package
Description
AOT support for bean factories.
Useful generic
java.util.function helper classes.-
Uses of ThrowingFunction in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot with parameters of type ThrowingFunctionModifier and TypeMethodDescription<T> TAutowiredInstantiationArgumentsResolver.resolve(RegisteredBean registeredBean, ThrowingFunction<AutowiredArguments, T> generator) Resolve arguments for the specified registered bean and provide them to the given generator in order to return a result. -
Uses of ThrowingFunction in org.springframework.util.function
Methods in org.springframework.util.function that return ThrowingFunctionModifier and TypeMethodDescriptionstatic <T,R> ThrowingFunction<T, R> ThrowingFunction.of(ThrowingFunction<T, R> function) Lambda friendly convenience method that can be used to createThrowingFunctionwhere theapply(Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.static <T,R> ThrowingFunction<T, R> ThrowingFunction.of(ThrowingFunction<T, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingFunctionwhere theapply(Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.default ThrowingFunction<T,R> ThrowingFunction.throwing(BiFunction<String, Exception, RuntimeException> exceptionWrapper) Return a newThrowingFunctionwhere theapply(Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.Methods in org.springframework.util.function with parameters of type ThrowingFunctionModifier and TypeMethodDescriptionstatic <T,R> ThrowingFunction<T, R> ThrowingFunction.of(ThrowingFunction<T, R> function) Lambda friendly convenience method that can be used to createThrowingFunctionwhere theapply(Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.static <T,R> ThrowingFunction<T, R> ThrowingFunction.of(ThrowingFunction<T, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingFunctionwhere theapply(Object)method wraps any thrown checked exceptions using the givenexceptionWrapper.