Right... this was to test my error handling :) -----Original Message----- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: Wednesday, October 03, 2012 5:30 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 4:51 PM, "Jeremy A. Kolb - ARA/NED" <jk...@ara.com> wrote: > Unfortunately I have no control over this throw. You do have control: SQLiteDatabase is throwing because the SQL you're sending it is invalid. Don't give it invalid SQL. :-) > 10-03 12:01:47.487 I/MonoDroid(18173): > android.database.sqlite.SQLiteException: near "123": syntax error: , while > compiling: UPDATE Personnel SET > CurrentlyActive=?,Skills=?,Role=?,FirstName=?,LastName=?,123=? WHERE _id=5 Why would you have this? UPDATE table SET 123=? If you actually have a column named "123", you'll need to quote it. - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid