src/main/java/io/reactivex/plugins/RxJavaPlugins.java
@NonNull
    static <T, U, R> R apply(@NonNull BiFunction<T, U, R> f, @NonNull T t, @NonNull U u) {
        try {
            return f.apply(t, u);
        } catch (Throwable ex) {
            throw ExceptionHelper.wrapOrThrow(ex);
        }
    }
@NonNull
    static <T, U, R> R apply(@NonNull BiFunction<T, U, R> f, @NonNull T t, @NonNull U u) {
        try {
            return f.apply(t, u);
        } catch (Throwable ex) {
            throw ExceptionHelper.wrapOrThrow(ex);
        }
    }
Wraps the call to the function in try-catch and propagates thrown
checked exceptions as RuntimeException.
@param <T> the first input type
@param <U> the second input type
@param <R> the output type
@param f the function to call, not null (not verified)
@param t the first parameter value to the function
@param u the second parameter value to the function
@return the result of the function call