mobilek...@googlemail.com wrote: > Hi, > > Has anyone come across this one: > android.database.sqlite.SQLiteConstraintException: error code 19. It > gets thrown on 'insert', 'update' and 'delete' statements. > > What is it supposed to mean? At the moment the documentation lacks a > signle word about SQL Exceptions and the error codes they throw.
Yeah, some of the SQLite exceptions are not very informative. For me, "error code 19" means I failed a constraint, such as forgetting to supply a non-NULL/no-default value on an INSERT. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---