docs: void addWarning(SQLWarning w) {
  
          // PRE:  w is never null
          synchronized (rootWarning_mutex) {
              if (rootWarning == null) {
                  rootWarning = w;
              } else {
                  rootWarning.setNextWarning(w);
              }
          }
      }