.getHeaderCaption(); String message = invalidFields.get(firstErrorField) .getLocalizedMessage();
/** * Returns the message of the error in HTML. * * Note that this API may change in future versions. */ public String getHtmlMessage() { return VaadinServlet.safeEscapeForHtml(getLocalizedMessage()); }