Code example for SQLiteException

Methods: hashCode, printStackTrace

0
 
				db.execSQL(query);
 
			} catch(SQLiteException se) {
 
				se.printStackTrace();
				System.exit(se.hashCode());
 
			} 
 
		} 
 
		/** 
		 * Used to handle the transition from an older version of the DB to a newer version. 
		 * <p> 
		 * Currently, The Shopper doesn't utilize this method. 
		 * <p> 
		 * @param db A SQLiteDatabase instance that points to the SQLite engine 
		 * @param oldVersion 
		 * @param newVersion 
		 */