mercredi 25 février 2015

Exception 'java.sql.SQLEXCEPTION' is never thrown in the corresponding try block

I have this error in my onCreate. Any ideas what this means and how I rectify it?



@Override
public void onCreate(SQLiteDatabase db) {

try {
db.execSQL(TABLE_CREATE);
}
catch(SQLException e)
{
e.printStackTrace();
}
}

Aucun commentaire:

Enregistrer un commentaire