Code example for SQLException

Methods: getMessage

0
		try { 
			SQLiteDatabase db = DB.storeHelper.getWritableDatabase();
			db.execSQL("INSERT OR REPLACE INTO store VALUES(?, ?)", values);
			db.close();
		} catch (SQLException e) {
			OpenFeintInternal.log(TAG, e.getMessage());
		} 
	} 
	private static final String LastModified = "Last-Modified";
	 
	public void on200Response() { 
		Header h = getResponse().getFirstHeader(LastModified);
		if (h != null) {
		    storeLastModified(h.getValue());
		} 
	} 
}