Code example for SQLiteException

Methods: printStackTrace

0
				close(); 
				mDB = SQLiteDatabase.openDatabase(path, null,
						SQLiteDatabase.OPEN_READONLY | SQLiteDatabase.NO_LOCALIZED_COLLATORS);
				mPath = path;
			} catch (SQLiteException e) {
				e.printStackTrace();
				return false; 
			} 
		} 
		return true; 
	} 
 
	public String[][] get(int sura, int aya) {
		if (mDB == null) {
			return new String[][] {};
		} 
 
		try { 
			Cursor cursor = mDB.query("quran", new String[] { "ar", "tr" },
					"sura=? and aya=?", new String[] { "" + sura, "" + aya },
					null, null, "word");