Code example for Resources.NotFoundException

Methods: printStackTrace

0
				Log.d("Sync", "updateModelWithJSONObject ... send comment - " + object.toString());
				mDelegate.onSyncError(new Exception(object.toString()));
			} 
		} 
		catch (NotFoundException e) {
			e.printStackTrace();
			mDelegate.onSyncError(e);
			this.connectionFailed(serviceId);
		} 
		catch (MalformedURLException e) {
			e.printStackTrace();
			mDelegate.onSyncError(e);
			this.connectionFailed(serviceId);
		} 
	} 
 
	@Override 
	public void connectionFailed(Integer serviceId) {
		mDelegate.syncFinished();
		if (db != null) {
			db.close();