[mono-android] Exception isn't being caught and is killing my app

Jeremy A. Kolb - ARA/NED jkolb at ara.com
Wed Oct 3 20:51:49 UTC 2012


Unfortunately I have no control over this throw.  It's the Android.Database.Sqlite.SQLiteDatabase that throws it deep in the bowels of Android and not my code. :(

-----Original Message-----
From: monodroid-bounces at lists.ximian.com [mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
Sent: Wednesday, October 03, 2012 4:33 PM
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Exception isn't being caught and is killing my app

On Oct 3, 2012, at 12:05 PM, Jeremy A. Kolb - ARA/NED <jkolb at ara.com> wrote:
> I'm trying to make an update to a content provider with a known bad value like so:

Looks like a runtime bug:

	https://bugzilla.xamarin.com/show_bug.cgi?id=7634

Thank you for finding it.

In the meantime, don't throw exceptions unless you really mean it ("exceptions are exceptional"), as they can result in app death. :-(

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


More information about the Monodroid mailing list