Code example for ExecutionException

Methods: printStackTrace

0
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} catch (ExecutionException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
	} 
	@Override 
	protected Void doInBackground(Void... params) {
		// TODO Auto-generated method stub 
		try { 
			while (true) 
			{ 
			ResourcesFinder Finder=new ResourcesFinder(mContext);
			Finder.execute();
			currentList=Finder.get();
			//Log.d("GODS","bgworker is working"); 
			Thread.sleep(sleepTime);
			//Thread.yield(); 
			Finder=new ResourcesFinder(mContext);