niqo01
11/28/2019, 2:45 AMSam
11/28/2019, 3:04 AMniqo01
11/28/2019, 4:01 AMSam
11/28/2019, 4:02 AMniqo01
11/28/2019, 4:23 AM<http://java.io|java.io>.IOException
or not. I could catch the specific IOException related to no connectivity and ask the user to check their network settings, I could also catch the IOException related to network issues and ask the user to retry and just re-throw if this is not an IOException.
Another use case is about the Firestore database which offers and SDK for each platform. Requesting cache data which does not exist return FirebaseException with a specific property which I would like to capture and run different logic based on the cause.
I actually don't see any other ways than creating my own common code exception and map each platform one to the common one.Gabriel Feo
11/30/2019, 1:39 AMactual typealias
to the java.io.IOException