code: public boolean checkResponseForException() {
      if (!finished && rsp != null) {
        Exception e;
        if ((e = rsp.getException()) != null) {
          setError(e.getMessage());
          setFinished();
          return true;
        }
      }
      return false;
    }
docs: Check response on exception.
  
  @return true, if successful