diff --git a/src/main/java/io/reactivex/Flowable.java b/src/main/java/io/reactivex/Flowable.java index de381e206e..ab817bf8a8 100644 --- a/src/main/java/io/reactivex/Flowable.java +++ b/src/main/java/io/reactivex/Flowable.java @@ -8598,7 +8598,7 @@ public final Flowable flatMapSingle(Function onNext) { * @return a {@link Disposable} reference with which the caller can stop receiving items before * the Publisher has finished sending them * @see ReactiveX operators documentation: Subscribe - * @throws IllegalArgumentException + * @throws NullPointerException * if {@code onNext} is null, or * if {@code onError} is null */ @@ -12101,7 +12101,7 @@ public final Disposable subscribe(Consumer onNext, Consumer onNext, Consumer onSuccess) { * @return a {@link Disposable} reference with which the caller can stop receiving items before * the Maybe has finished sending them * @see ReactiveX operators documentation: Subscribe - * @throws IllegalArgumentException + * @throws NullPointerException * if {@code onSuccess} is null, or * if {@code onError} is null */ @@ -3472,7 +3472,7 @@ public final Disposable subscribe(Consumer onSuccess, Consumer Observable flatMapSingle(Function onNext) { * @return a {@link Disposable} reference with which the caller can stop receiving items before * the ObservableSource has finished sending them * @see ReactiveX operators documentation: Subscribe - * @throws IllegalArgumentException + * @throws NullPointerException * if {@code onNext} is null, or * if {@code onError} is null */ @@ -10086,7 +10086,7 @@ public final Disposable subscribe(Consumer onNext, Consumer onNext, ConsumerReactiveX operators documentation: Subscribe - * @throws IllegalArgumentException + * @throws NullPointerException * if {@code onCallback} is null */ @SchedulerSupport(SchedulerSupport.NONE) @@ -2490,7 +2490,7 @@ public final Disposable subscribe(Consumer onSuccess) { * Single * @return a {@link Disposable} reference can request the {@link Single} stop work. * @see ReactiveX operators documentation: Subscribe - * @throws IllegalArgumentException + * @throws NullPointerException * if {@code onSuccess} is null, or * if {@code onError} is null */