Code example for ExecutionException

Methods: toString

0
			r=s.get();
		} catch (InterruptedException e) {
			Log.e("Server.sendServer", e.toString());
			return "ERR: Interrupted"; 
		} catch (ExecutionException e) {
			Log.e("Server.sendServer", e.toString());
			return "ERR: Execution Exception"; 
		} 
    	return r;
    } 
     
    private static void setReady(Boolean stat) {
    	isReady=stat;
    } 
     
    public static boolean getReady() { 
    	return isReady;
    } 
     
    public static class ServerTask extends AsyncTask<String, Void, String> {
    	@Override