@@ -3939,7 +3939,7 @@ public final Maybe<T> onErrorResumeWith(@NonNull MaybeSource<? extends T> next)
39393939 @ SchedulerSupport (SchedulerSupport .NONE )
39403940 public final Maybe <T > onErrorResumeNext (@ NonNull Function <? super Throwable , ? extends MaybeSource <? extends T >> resumeFunction ) {
39413941 Objects .requireNonNull (resumeFunction , "resumeFunction is null" );
3942- return RxJavaPlugins .onAssembly (new MaybeOnErrorNext <>(this , resumeFunction , true ));
3942+ return RxJavaPlugins .onAssembly (new MaybeOnErrorNext <>(this , resumeFunction ));
39433943 }
39443944
39453945 /**
@@ -3996,37 +3996,6 @@ public final Maybe<T> onErrorReturnItem(@NonNull T item) {
39963996 return onErrorReturn (Functions .justFunction (item ));
39973997 }
39983998
3999- /**
4000- * Resumes the flow with the given {@link MaybeSource} when the current {@code Maybe} fails
4001- * with an {@link Exception} subclass instead of signaling the error via {@code onError}.
4002- * <p>
4003- * This differs from {@link #onErrorResumeNext} in that this one does not handle {@link java.lang.Throwable}
4004- * or {@link java.lang.Error} but lets those continue through.
4005- * <p>
4006- * <img width="640" height="333" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/onExceptionResumeNextViaMaybe.png" alt="">
4007- * <p>
4008- * You can use this to prevent exceptions from propagating or to supply fallback data should exceptions be
4009- * encountered.
4010- * <dl>
4011- * <dt><b>Scheduler:</b></dt>
4012- * <dd>{@code onExceptionResumeNext} does not operate by default on a particular {@link Scheduler}.</dd>
4013- * </dl>
4014- *
4015- * @param next
4016- * the next {@code MaybeSource} that will take over if the current {@code Maybe} encounters
4017- * an exception
4018- * @return the new {@code Maybe} instance
4019- * @throws NullPointerException if {@code next} is {@code null}
4020- * @see <a href="http://reactivex.io/documentation/operators/catch.html">ReactiveX operators documentation: Catch</a>
4021- */
4022- @ CheckReturnValue
4023- @ NonNull
4024- @ SchedulerSupport (SchedulerSupport .NONE )
4025- public final Maybe <T > onExceptionResumeNext (@ NonNull MaybeSource <? extends T > next ) {
4026- Objects .requireNonNull (next , "next is null" );
4027- return RxJavaPlugins .onAssembly (new MaybeOnErrorNext <>(this , Functions .justFunction (next ), false ));
4028- }
4029-
40303999 /**
40314000 * Nulls out references to the upstream producer and downstream {@link MaybeObserver} if
40324001 * the sequence is terminated or downstream calls {@code dispose()}.
0 commit comments