code: private static void showErrorDialog(CmsJspActionElement jsp, Throwable t) {
  
          CmsDialog wp = new CmsDialog(jsp);
          wp.setParamMessage(Messages.get().getBundle(wp.getLocale()).key(Messages.ERR_NO_EDITOR_FOUND_0));
          wp.fillParamValues(jsp.getRequest());
          try {
              wp.includeErrorpage(wp, t);
          } catch (JspException e) {
              LOG.debug(
                  org.opencms.workplace.commons.Messages.get().getBundle().key(
                      org.opencms.workplace.commons.Messages.LOG_ERROR_INCLUDE_FAILED_1,
                      CmsWorkplace.FILE_DIALOG_SCREEN_ERRORPAGE),
                  e);
          }
      }
docs: Shows the error dialog when no valid editor is found and returns null for the editor URI.<p>
  
  @param jsp the instantiated CmsJspActionElement
  @param t a throwable object, can be null