docs: protected void showErrorPage(Object editor, Exception exception) throws JspException {
  
          // save initialized instance of the editor class in request attribute for included sub-elements
          getJsp().getRequest().setAttribute(SESSION_WORKPLACE_CLASS, editor);
  
          // reading of file contents failed, show error dialog
          setAction(ACTION_SHOW_ERRORMESSAGE);
          setParamTitle(key(Messages.GUI_TITLE_EDIT_1, new Object[] {CmsResource.getName(getParamResource())}));
          if (exception != null) {
              getJsp().getRequest().setAttribute(ATTRIBUTE_THROWABLE, exception);
              if (CmsLog.getLog(editor).isWarnEnabled()) {
                  CmsLog.getLog(editor).warn(exception.getLocalizedMessage(), exception);
              }
          }
          // include the common error dialog
          getJsp().include(FILE_DIALOG_SCREEN_ERRORPAGE);
      }