10- Handling Exceptions
4:15
2 ဟောပြောသူ
2 အခန်းများ
92 ပိုင်း
ဟောပြောသူ
အခန်းများ
-
0:03
You'll learn how to consume the result of an asynchronous task. But what if this task throws an exception? For example, let's say we try to call a remote weather service to get the current weather in a given city. Now this remote call may f…
-
2:21အခန်း 2: Now, we don't want our application to crash. 109s · Speaker 2
Now, we don't want our application to crash. So what should we do here? Well, in this case we can recover and provide a default value like the last temperature that we successfully read before. Let me show you how to do that. So first I'm g…