@@ -4940,9 +4940,9 @@ public final <U, R> Observable<R> flatMapIterable(Func1<? super T, ? extends Ite
4940
4940
* @param onNext
4941
4941
* {@link Action1} to execute for each item.
4942
4942
* @throws IllegalArgumentException
4943
- * if {@code onNext} is null, or
4944
- * if {@code onError} is null, or
4945
- * if {@code onComplete} is null
4943
+ * if {@code onNext} is null
4944
+ * @throws OnErrorNotImplementedException
4945
+ * if the Observable calls {@code onError}
4946
4946
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
4947
4947
*/
4948
4948
public final void forEach (final Action1 <? super T > onNext ) {
@@ -4964,8 +4964,9 @@ public final void forEach(final Action1<? super T> onNext) {
4964
4964
* {@link Action1} to execute when an error is emitted.
4965
4965
* @throws IllegalArgumentException
4966
4966
* if {@code onNext} is null, or
4967
- * if {@code onError} is null, or
4968
- * if {@code onComplete} is null
4967
+ * if {@code onError} is null
4968
+ * @throws OnErrorNotImplementedException
4969
+ * if the Observable calls {@code onError}
4969
4970
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
4970
4971
*/
4971
4972
public final void forEach (final Action1 <? super T > onNext , final Action1 <Throwable > onError ) {
@@ -4991,6 +4992,8 @@ public final void forEach(final Action1<? super T> onNext, final Action1<Throwab
4991
4992
* if {@code onNext} is null, or
4992
4993
* if {@code onError} is null, or
4993
4994
* if {@code onComplete} is null
4995
+ * @throws OnErrorNotImplementedException
4996
+ * if the Observable calls {@code onError}
4994
4997
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
4995
4998
*/
4996
4999
public final void forEach (final Action1 <? super T > onNext , final Action1 <Throwable > onError , final Action0 onComplete ) {
@@ -7485,7 +7488,7 @@ public final void onNext(T args) {
7485
7488
* @throws IllegalArgumentException
7486
7489
* if {@code onNext} is null
7487
7490
* @throws OnErrorNotImplementedException
7488
- * if the Observable tries to call {@code onError}
7491
+ * if the Observable calls {@code onError}
7489
7492
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
7490
7493
*/
7491
7494
public final Subscription subscribe (final Action1 <? super T > onNext ) {
0 commit comments