File tree Expand file tree Collapse file tree
Part 3 - Taming the sequence Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 .onErrorReturn(e - > " Error: " + e. getMessage())
2424 .subscribe(v - > System . out. println(v));
2525```
26- Output
26+ [ Output] ( /tests/java/itrx/chapter3/error/ResumeExample.java )
2727```
2828Rx
2929is
5656 .onErrorResumeNext(Observable . just(Integer . MAX_VALUE ))
5757 .subscribe(new PrintSubscriber (" with onError: " ));
5858```
59- Output
59+ [ Output] ( /tests/java/itrx/chapter3/error/ResumeExample.java )
6060```
6161with onError: 1
6262with onError: 2
@@ -113,7 +113,7 @@ values
113113 .retry(1 )
114114 .subscribe(v - > System . out. println(v));
115115```
116- Output
116+ [ Output] ( /tests/java/itrx/chapter3/error/RetryExample.java )
117117```
1181180
11911913
@@ -159,7 +159,7 @@ source.retryWhen((o) -> o
159159 System . out:: println,
160160 System . out:: println);
161161```
162- Output
162+ [ Output] ( /tests/java/itrx/chapter3/error/RetryWhenExample.java )
163163```
164164TimeInterval [intervalInMilliseconds=21, value=1]
165165TimeInterval [intervalInMilliseconds=0, value=2]
@@ -207,7 +207,7 @@ values
207207 v - > System . out. println(v),
208208 e - > System . out. println(e));
209209```
210- Output
210+ [ Output] ( /tests/java/itrx/chapter3/error/UsingExample.java )
211211```
212212Leased: MyResource
213213M
You can’t perform that action at this time.
0 commit comments