android5-7 Exercise 2: Causing the failures ======================================== 1. No network: aeroplane mode, tap Refresh. Expected (general knowledge): an IOException, so NoConnection and "No connection". 2. Wrong path: @GET("postz"). Expected: the server replies 404; Retrofit's suspend function throws HttpException, so ServerError(404) and "Server error (404)". 3. Not the expected JSON: point the call at a URL returning HTML or a different shape. Expected: a SerializationException (or an exception wrapped around it); BadReply. If you get a different exception type, that is a gap in the repository: widen the catch deliberately and note why. Report what you actually saw; the exception types above are expectations, not checked facts. Code unrun.