10- Handling Exceptions

4:15 2 Звуци 2 Поглавја 92 сегменти

Поглавја

  1. 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. 2:21

    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…