/** * Apply this function or recover from it in case of exception. * * @param fn Exception recover. * @return A new function. */ default Supplier<V> recover(java.util.function.Function<Throwable, V> fn) { return recover(Throwable.class, fn); }
/** * Apply this function or recover from it in case of exception. * * @param fn Exception recover. * @return A new function. */ default Supplier<V> recover(java.util.function.Function<Throwable, V> fn) { return recover(Throwable.class, fn); }