Doh! Just went back to the docs and noticed there is an insertOrThrow method I can use instead of insert. Why the distinction between these two? It appears to throw the exception with both methods, but it is uncatchable with insert.
On May 20, 4:13 am, Makeable <[email protected]> wrote: > I can't seem to catch SQLiteConstraintException from SQLiteDatabase. > Has anyone else encountered this? > > Kind Regards, > > Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

