Coming over from other languages/platforms, and just trying to get my head around the proper way to handle Exceptions in Android (or at a minimum, some advice/links on this topic).
Have an app that in various activities handles any number of types of Exceptions, such as IOException, FileNotFoundException, SAXException, etc. In some cases, I want an exception to terminate the called Activity and alert the user of an error, in others, I can handle the Exception more gracefully, if appropriate. So I guess the question is, is it a good strategy to create a custom app-specific Exception class that I can then re-throw specific Exceptions from, such that I only have to listen for that specific exception in try/catch blocks further up the chain, rather than listening for a bunch of different ones? A very basic question, but want to make sure I get off on the right foot. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

