title: android sqliteDatabase table creation with unique key constraints not throwing exception for duplicate entry
body: <p>i have created one android application that was connecting to sqlite database. </p>
  
  <p>and i have given a <code>unique constraint</code> for multiple fields exactly 2 fields say <code>username and password.</code></p>
  
  <p>am expecting the app will thrown exception while am trying to insert the duplicate entry.</p>
  
  <p>and in the Logcat am getting the following exception : </p>
  
  <p><code>01-04 16:52:06.604: E/SQLiteDatabase(1432): android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed</code></p>
  
  <p>in the line am trying to insert <code>db.insert(userTable, null, cv);</code></p>
  
  <p>but even if am writing this code in a <code>try..catch</code> block the control is not entered into my <code>catch</code> block.
  Experts please tell why this case happends.?</p>
  
  <p>Thanks in advance.</p>