ErrorReport errorReport = errorReportHandler.getErrorReport();
if (errorReport != null) {
setAttribute("errorIcon", getErrorIcon(errorReport));
setAttribute("errorMessage", errorReport.printErrorMessage());
setAttribute("closeEnabled", errorReportHandler.isCloseEnabled());
if (!errorReport.isBusinessAppError()) setAttribute("technicalDetails", errorReport.printContext(0));
renderFragment("errorMessage");
}
}
protected String getErrorIcon(ErrorReport errorReport) {