code: private CmsFieldSet createDetailsFieldSet(String details) {
  
          CmsFieldSet fieldset = new CmsFieldSet();
          fieldset.addStyleName(I_CmsLayoutBundle.INSTANCE.errorDialogCss().details());
          fieldset.setLegend(Messages.get().key(Messages.GUI_LABEL_STACKTRACE_0));
          fieldset.addContent(new HTML("<pre>" + details + "</pre>"));
          fieldset.setOpen(true);
          return fieldset;
      }
docs: Creates a field-set containing the error details.<p>
  
  @param details the error details
  
  @return the field-set widget