Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQLiteConstraintException の原因となった制約の名前を取得するにはどうすればよいですか。
例外で toString() を呼び出すと、「エラーコード 19: 制約が失敗しました」というメッセージが表示されます。
また、例外には原因を取得するメソッドはありません。これにより、SQL のデバッグがかなり難しくなります。