Code example for SQLException

Methods: getLocalizedMessage

0
			if (!todoDAO.getTodayEvents().isEmpty()) {
				todayEvent = todoDAO.getTodayEvents();
				createNewNotification(); 
			} 
		} catch (SQLException e) {
			Log.i(getClass().getName(), e.getLocalizedMessage());
		} 
		return super.onStartCommand(intent, flags, startId);
	} 
 
	/** 
	 *  
	 * @param todo 
	 * @return 
	 * @throws SQLException 
	 */ 
 
	public void createNewNotification() throws SQLException { 
 
		Intent notificationIntent = new Intent(getApplicationContext(),
				MainActivity.class);