code: public void setErrorMessage(String message) {
  
          m_messageText.setInnerHTML(message);
          addStyleName(formCss().hasError());
          m_hasError = true;
      }
docs: Shows a validation error message.<p>
  
  @param message the error message