code: public void setException(Throwable exception) {
      this.exception = exception;
  
      if (handlers != null) {
        for (IsSimplePromiseResponseHandler<T> h : handlers) {
          h.onResponse(this);
        }
      }
    }
docs: Sets exception
  
  @param exception to set.