code: void showWarnings() {
      if (getDatabaseConnection().connection == null) {
        return;
      }
  
      if (!getOpts().getShowWarnings()) {
        return;
      }
  
      try {
        showWarnings(getDatabaseConnection().connection.getWarnings());
      } catch (Exception e) {
        handleException(e);
      }
    }
docs: Print out any warnings that exist for the current connection.