Code example for SQLiteException

0
	public CookieDAO(SQLiteDatabase sqLiteDatabase)
	{ 
		this.db	= sqLiteDatabase;
		if(this.db == null)
		{ 
			throw new SQLiteException("sqlite can't open");
		} 
	} 
	 
	public void clearCookie() 
	{ 
		db.delete("cookies", null, null);
	} 
	 
	public void saveCookie(List<Cookie> cookieList)
	{ 
		clearCookie(); 
		for( int i = 0; i < cookieList.size(); i ++ )
		{ 
			ContentValues cv		= new ContentValues();
Experience pair programming with AI  Get Codota for Java