Code example for Resources.NotFoundException

Methods: getMessage, printStackTrace

0
				this.loadSearchJobsUrl();
			else if (serviceName.equals(ServicesNames.SEARCHPEOPLE_SERVICE))
				this.loadSearchPeopleUrl();
		} 
		catch (NotFoundException e) {
			e.printStackTrace();
			Log.d("Sync", "Synchronizing error - " + e.getMessage());
			mDelegate.onSyncError(e);
		} 
		catch (MalformedURLException e) {
			Log.d("Sync", "Synchronizing error - " + e.getMessage());
			e.printStackTrace();
			mDelegate.onSyncError(e);
		} 
	} 
 
	public void GetNewestOffers() { 
		db = dbModel.getWritableDatabase();
		db.execSQL("PRAGMA foreign_keys = ON;");
		Log.d("Sync", "GetNewestOffers ... ");
		synchronize(ServicesNames.NEWOFFERS_SERVICE, false);