Code example for ExecutionException

Methods: toString

0
         .get(callTimeoutSeconds, TimeUnit.SECONDS);
 
      } catch (InterruptedException e) {
        Log.e(TAG, "InterruptedException while SimpleAsyncTask get()...\n" + e.toString());
      } catch (ExecutionException e) {
        Log.e(TAG, "ExecutionException while SimpleAsyncTask get()...\n" + e.toString());
      } catch (TimeoutException e) {
        Log.e(TAG, "ExecutionException while SimpleAsyncTask get()...\n" + e.toString());
      } 
 
      return result;
    } 
 
    protected void throwLater(Throwable throwable) {
      throwLater = throwable;
    } 
  } 
 
}