code: public void setWarningMessage(String message) {
  
          m_messageText.setInnerText(message);
          addStyleName(formCss().hasWarning());
          m_hasError = true;
      }
docs: Shows a validation warning message.<p>
  
  @param message the warning message