Creates the container markup with the error message
@param {aria.templates.MarkupWriter} out Markup writer which should receive the content of the popup.
@private
774595
function (out) {
            var errorMessage;
            if (this._WidgetCfg.formatError) {// framework errors
                errorMessage = this._WidgetCfg.formatErrorMessages;
            } else if (this._WidgetCfg.error) {// template errors
                errorMessage = this._WidgetCfg.errorMessages;
            }

            var div = new ariaWidgetsContainerDiv({
                sclass : "errortip",
                width : 289,
                margins : "0 0 0 0"
            }, this._context);

            var msg = this._checkErrorMessage(errorMessage);
            if (this._WidgetCfg.waiAria) {
                div.addExtraAttributes('aria-hidden="true"');
                this._widget.waiReadText(msg, {
                    alert: true
                });
            }

            out.registerBehavior(div);
            div.writeMarkupBegin(out);
            out.write(msg);
            div.writeMarkupEnd(out);


            this._div = div;
        }
334111
function(type, message) {
		var popup = $(
			'<div class="plupload_message">' + 
				'<span class="plupload_message_close ui-icon ui-icon-circle-close" title="'+_('Close')+'"></span>' +
				'<p><span class="ui-icon"></span>' + message + '</p>' +
			'</div>'
		);
					
		popup
			.addClass('ui-state-' + (type === 'error' ? 'error' : 'highlight'))
			.find('p .ui-icon')
				.addClass('ui-icon-' + (type === 'error' ? 'alert' : 'info'))
				.end()
			.find('.plupload_message_close')
				.click(function() {
					popup.remove();	
				})
				.end();
		
		$('.plupload_header', this.container).append(popup);
	}
657707
public void error(String msg, Object[] args)
  {

    String themsg = XSLMessages.createMessage(msg, args);

    throw new RuntimeException(XSLMessages.createMessage(
                                    XSLTErrorResources.ER_ELEMTEMPLATEELEM_ERR,
                                    new Object[]{ themsg }));
  }
966096
function makeError(id, msg, err) {
        var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id);
        if (err) {
            e.originalError = err;
        }
        return e;
    }
724437
function addOnErrorHook () {

		window.addEventListener("error", function(error) {
			error.preventDefault();
			var oErrorOutput = document.createElement("span");
			oErrorOutput.innerText = error.message; // use save API
			oErrorOutput.style.cssText = "position:absolute; top:1rem; left:1rem";
			if (!document.body) {
				document.write("<span></span>"); // add content via document.write to ensure document.body is created;
			}
			document.body.appendChild(oErrorOutput);
		});
	}
1243876
function (out) {
            var tplParam = out.templateParam;
            if (tplParam.$hasScript) {
                out.scriptClasspath = tplParam.$classpath + "Script";
                out.scriptClassName = this._getClassName(out.scriptClasspath);
                out.addDependency(out.scriptClasspath);
            }
        }
786304
function formErrorText (info, msg) {
  const hr = '----------'

  return addPlatformInformation(info)
  .then((obj) => {
    const formatted = []

    function add (msg) {
      formatted.push(
        stripIndents(msg)
      )
    }

    add(`
      ${obj.description}

      ${obj.solution}

    `)

    if (msg) {
      add(`
        ${hr}

        ${msg}

      `)
    }

    add(`
      ${hr}

      ${obj.platform}
    `)

    if (obj.footer) {
      add(`

        ${hr}

        ${obj.footer}
      `)
    }

    return formatted.join('\n\n')
  })
}
1051872
function(markup) {

        if (!markup) return undefined;

        var fragment = markup.fragment;
        if (!(markup.fragment instanceof DocumentFragment) || !markup.fragment.hasChildNodes()) throw new Error('dia.LinkView: invalid label markup.');

        var vNode;
        var childNodes = fragment.childNodes;

        if ((childNodes.length > 1) || childNodes[0].nodeName.toUpperCase() !== 'G') {
            // default markup fragment is not wrapped in <g />
            // add a <g /> container
            vNode = V('g').append(fragment);
        } else {
            vNode = V(childNodes[0]);
        }

        vNode.addClass('label');

        return { node: vNode.node, selectors: markup.selectors };
    }
315597
function writeOutput(filePath, content, failOnError, cb) {
    var outStream;
    if (!filePath) {
        if (content) {
            console.log(content);
        }
        if (failOnError) {
            return cb(new gutil.PluginError('gulp-jscs-custom', 'JSCS validation failed', {
                showStack: false
            }));
        } else {
            return cb();
        }
    }
    outStream = fs.createWriteStream(filePath);
    outStream.write(content, null, cb);
}
137754
function (out) {
            // var tplParam = out.templateParam;
            out.enterBlock("classInit");
            this._writeMapInheritance(out, "__$macrolibs", out.templateParam.$macrolibs, "{}");
            out.leaveBlock();
            this.$ClassGenerator._writeClassInit.call(this, out);
        }
1344163
function error (message) {
  console.log(chalk.bgRed.white('[Error]' + message))
  throw new Error(message)
}
761236
function (out) {
            this._frame.writeMarkupEnd(out);
            var label = this._cfg.label;
            if (label) {
                var ariaHidden = this._cfg.waiAria ? ' aria-hidden="true"' : '';
                out.write('<span class="xFieldset_' + this._cfg.sclass + '_normal_label"' + ariaHidden + '>' + ariaUtilsString.escapeHTML(label) + '</span>');
            }
        }
1086297
void displayError(String messageHTML) {

        // m_fakeWindow.addStyleName("waggler");
        m_error.setValue(messageHTML);
        m_error.setVisible(true);
        CmsVaadinUtils.waggleMeOnce(m_fakeWindow);
        //
        //Add JavaScript code, which adds the wiggle class and removes it after a short time.
        //        JavaScript.getCurrent().execute(
        //            "wiggleElement=document.querySelectorAll(\".waggler\")[0];\n"
        //                + "wiggleElement.className=wiggleElement.className + \" waggle\";\n"
        //                + "setTimeout(function () {\n"
        //                + "element=document.querySelectorAll(\".waggle\")[0];\n"
        //                + "element.className=element.className.replace(/\\bwaggle\\b/g, \"\");"
        //                + "    }, 1500);");
    }
971723
function() {

        var element = this.model;
        var markup = element.get('markup') || element.markup;
        if (!markup) throw new Error('dia.ElementView: markup required');
        if (Array.isArray(markup)) return this.renderJSONMarkup(markup);
        if (typeof markup === 'string') return this.renderStringMarkup(markup);
        throw new Error('dia.ElementView: invalid markup');
    }
473685
function(err){
			var indicator = lib.node(this._prefix+this._id);
			indicator.parentNode.removeChild(indicator);
			
			var image = document.createElement("img");
			image.src = require.toUrl("images/problem.gif");
			this._anchor.appendChild(image);
			
			new mTooltip.Tooltip({
				node: indicator,
				text:err
			});
		}
1220220
function (out) {
            var cfg = this._cfg;
            this._frame = ariaWidgetsFramesFrameWithIcons.createFrame({
                sclass : cfg.sclass,
                id : this._domId,
                skinnableClass : this._skinnableClass,
                width : this._inputMarkupWidth,
                state : this._state,
                scrollBarX : false,
                scrollBarY : false,
                iconsAttributes : this._iconsAttributes,
                iconsWaiLabel : this._iconsWaiLabel,
                hideIconNames : this._hideIconNames,
                inlineBlock : true,
                // used for table frame, defaults to false
                height : this._inputMarkupHeight,
                fullWidth : this._fullWidth
            });
            this._frame.$on({
                "*" : this._frame_events,
                scope : this
            });

            this._frame.writeMarkupBegin(out);
            this._inputWithFrameMarkup(out);
            this._frame.writeMarkupEnd(out);
        }
262922
function (out) {
            var cfg = this._cfg;
            var tabIndexString = (cfg.tabIndex != null ? ' tabindex="' + this._calculateTabIndex() + '" ' : '');
            var titleString = cfg.tooltip ? ' title="' + ariaUtilsString.escapeHTMLAttr(cfg.tooltip) + '" ' : '';
            var isIE7 = ariaCoreBrowser.isIE7;
            var ariaTestMode = (Aria.testMode) ? ' id="' + this._domId + '_button" ' : '';
            var buttonClass = cfg.disabled ? "xButton xButtonDisabled" : "xButton";

            var waiAriaAttributes = this._getWaiAriaMarkup();
            var disableMarkup = "";
            if (cfg.disabled) {
                if (!cfg.focusableWhenDisabled) {
                    disableMarkup = " disabled ";
                } else if (cfg.waiAria) {
                    disableMarkup = " aria-disabled='true' ";
                }
            }
            if (this._simpleHTML) {
                var styleMarkup = cfg.width != "-1" ? " style='width:" + cfg.width + "px;' " : "";

                out.write([
                    '<',
                    !cfg.waiAria
                        ? 'input type="button" value="' + ariaUtilsString.encodeForQuotedHTMLAttribute(cfg.label) + '"'
                        : 'button',
                    waiAriaAttributes,
                    ariaTestMode,
                    tabIndexString,
                    titleString,
                    disableMarkup,
                    styleMarkup,
                    !cfg.waiAria
                        ? '/>'
                        : '>' + ariaUtilsString.escapeForHTML(cfg.label, {text: true}) + '</button>'
                ].join(''));
            } else {
                if (isIE7) {
                    // FIXME: find a way to put a button also on IE7
                    // on IE7 the button is having display issues the current frame implementation inside it
                    out.write(['<span class="' + buttonClass + '" style="margin: 0;"', waiAriaAttributes, tabIndexString, titleString, ariaTestMode,
                            '>'].join(''));
                } else {
                    out.write([
                        '<button',
                        ' type="button"',
                        ' class="' + buttonClass + '"',
                        waiAriaAttributes,
                        tabIndexString,
                        titleString,
                        ariaTestMode,
                        disableMarkup,
                        '>'
                    ].join(''));
                }
                this._frame.writeMarkupBegin(out);
                // call the method to write the content of the button - here is is just
                // the label cfg attribute, but the method can be overwritten in child classes
                this._widgetMarkupContent(out);
                this._frame.writeMarkupEnd(out);
                if (isIE7) {
                    out.write('</span>');
                } else {
                    out.write('</button>');
                }
            }
        }