弹出异常框，并退出程序

@param title 标题
@param header 信息头
@param e 异常
768881
public static void showFatalError(String title, String header, Exception e) {
        showException(title, header, e);
        System.exit(0);
    }
1212329
public void setWindowTitle(String windowTitle) {
        this.log("Setting window title to: " + windowTitle, LogLevel.DEBUG.getLevel());
        this.windowTitle = new StringResource(this.getProject(), windowTitle);
    }
478712
public static Optional<ButtonType> showException(String title, Exception e) {
        return showException(title, null, e);
    }
16537
public void dialog(final int title, int list, DialogInterface.OnClickListener listener) {
        AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
        builder.setTitle(title)
                .setItems(list, listener);
        builder.create().show();
    }
176769
@Override
    public void setText(String text) {
        if (text == null) {
            if (header != null) flow.remove(header);
        } else {
            if (header == null) {
                header = new Heading(1);
                flow.add(header);
            }
            header.setText(text);
        }
    }
334748
public void showInfoHeader(String title, String description, String path, String locale, String iconClass) {

        getRpcProxy(I_CmsSitemapClientRpc.class).showInfoHeader(title, description, path, locale, iconClass);
    }
374035
public function printHTMLHeader($title)
    {
        $this->_htmlFilterOutput(
            str_replace(
                '__TITLE__', $title,
                (empty($this->_output_header)
                ? '<html><head><title>__TITLE__</title></head><body><h1>__TITLE__</h1>'
                : $this->_output_header)
            )
        );
    }
134601
public static function heading(string $title, int $h = 1, array $attributes = null) : string
    {
        $output = '<h'.$h.Html::attributes($attributes).'>'.$title.'</h'.$h.'>';

        return $output;
    }
305940
public Page title(String title)
    {
        properties.put(Title,title);
        String heading = (String)properties.get(Heading);
        if (heading==null||heading.equals(NoTitle))
            properties.put(Heading,title);
        return this;
    }
97982
public void setWindowTitle(String title) {

        /* HACK: Using a Label destroys the layout for some reason, so we resort to setting the caption directly in the
         element via an explicit JavaScript call. */
        m_windowTitle = title;
        JavaScript.eval(
            "document.querySelector('#"
                + getId()
                + " .fakewindowheader').innerHTML = '"
                + StringEscapeUtils.escapeEcmaScript(title)
                + "'");
    }
1244453
public void setTitleKey(String titleKey) {

        m_titleKey = titleKey;
        if (LOG.isDebugEnabled()) {
            LOG.debug(Messages.get().getBundle().key(Messages.LOG_SET_TITLE_KEY_1, titleKey));
        }
    }
1354312
public void setTitle(final String TITLE) {
        if (null == title) {
            _title = null == TITLE ? "" : TITLE;
            fireTileEvent(VISIBILITY_EVENT);
            fireTileEvent(REDRAW_EVENT);
        } else {
            title.set(TITLE);
        }
    }
139396
public String dialogHead(String title) {

        String escapedTitle;
        if (title == null) {
            escapedTitle = "";
        } else {
            escapedTitle = CmsEncoder.escapeHtml(title);
        }

        return "<div class=\"dialoghead\" unselectable=\"on\">" + escapedTitle + "</div>";
    }
1006713
public void alert(final int title, final int message,
                      final DialogInterface.OnClickListener onClickListener) {

        final AlertDialog.Builder builder = new AlertDialog.Builder(
                getContext());
        builder.setTitle(title);
        builder.setMessage(message);
        builder.setIcon(android.R.drawable.ic_dialog_alert);
        builder.setPositiveButton(android.R.string.ok,
                new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(final DialogInterface dialog,
                                        final int which) {
                        if (onClickListener != null) {
                            onClickListener.onClick(dialog, which);
                        }
                        final AlertDialog ad = builder.create();
                        ad.cancel();
                    }
                });
        builder.show();
    }
543654
def title
      doc.at("//head/meta[@name='title']")["content"].split(/\(.*\)/)[0].strip! ||
          doc.at("h1.header").children.first.text.strip

    end
919287
def h1(title, line=OVERLINE):
    
    width = utils.term.width
    printy(bold(title.center(width)).as_utf8)
    printy(bold((line * width)[:width]).as_utf8)
1231445
@Override
    public void setTitle(final String title) {
        if (this.title == null) {
            this.title = new SyndContentImpl();
        }
        this.title.setValue(title);
    }