Code example for InvalidKeySpecException

Methods: printStackTrace

0
            // TODO Auto-generated catch block 
            e.printStackTrace();
        } catch (InvalidKeySpecException e)
        { 
            // TODO Auto-generated catch block 
            e.printStackTrace();
        } 
         
         
    } 
 
    @Override 
    public void onCreate(SQLiteDatabase db)
    { 
        String CREATE_USER_PREF_TABLE = "CREATE TABLE " + TABLE_USER_PREF + "(" + KEY_ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + KEY_KEY + " TEXT,"
                + KEY_VALUE + " TEXT" + ")";
        db.execSQL(CREATE_USER_PREF_TABLE);
        
    } 
     
    public void destoryDB()