code: private CmsMessageWidget createMessageWidget(String message) {
  
          CmsMessageWidget widget = new CmsMessageWidget();
          widget.setIcon(FontOpenCms.ERROR, I_CmsConstantsBundle.INSTANCE.css().colorError());
          widget.setMessageHtml(message);
          return widget;
      }
docs: Creates the message HTML widget containing error icon and message.<p>
  
  @param message the message
  
  @return the HTML widget