@@ -4943,9 +4943,9 @@ public final <U, R> Observable<R> flatMapIterable(Func1<? super T, ? extends Ite
4943
4943
* @param onNext
4944
4944
* {@link Action1} to execute for each item.
4945
4945
* @throws IllegalArgumentException
4946
- * if {@code onNext} is null, or
4947
- * if {@code onError} is null, or
4948
- * if {@code onComplete} is null
4946
+ * if {@code onNext} is null
4947
+ * @throws OnErrorNotImplementedException
4948
+ * if the Observable calls {@code onError}
4949
4949
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
4950
4950
*/
4951
4951
public final void forEach (final Action1 <? super T > onNext ) {
@@ -4967,8 +4967,9 @@ public final void forEach(final Action1<? super T> onNext) {
4967
4967
* {@link Action1} to execute when an error is emitted.
4968
4968
* @throws IllegalArgumentException
4969
4969
* if {@code onNext} is null, or
4970
- * if {@code onError} is null, or
4971
- * if {@code onComplete} is null
4970
+ * if {@code onError} is null
4971
+ * @throws OnErrorNotImplementedException
4972
+ * if the Observable calls {@code onError}
4972
4973
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
4973
4974
*/
4974
4975
public final void forEach (final Action1 <? super T > onNext , final Action1 <Throwable > onError ) {
@@ -4994,6 +4995,8 @@ public final void forEach(final Action1<? super T> onNext, final Action1<Throwab
4994
4995
* if {@code onNext} is null, or
4995
4996
* if {@code onError} is null, or
4996
4997
* if {@code onComplete} is null
4998
+ * @throws OnErrorNotImplementedException
4999
+ * if the Observable calls {@code onError}
4997
5000
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
4998
5001
*/
4999
5002
public final void forEach (final Action1 <? super T > onNext , final Action1 <Throwable > onError , final Action0 onComplete ) {
@@ -7520,7 +7523,7 @@ public final void onNext(T args) {
7520
7523
* @throws IllegalArgumentException
7521
7524
* if {@code onNext} is null
7522
7525
* @throws OnErrorNotImplementedException
7523
- * if the Observable tries to call {@code onError}
7526
+ * if the Observable calls {@code onError}
7524
7527
* @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
7525
7528
*/
7526
7529
public final Subscription subscribe (final Action1 <? super T > onNext ) {
0 commit comments