errMsg.append("<span  id=\"error_title\">There are error(s) in "+ info.getType() +":" + info.getElementInfo() + "</span>");
errMsg.append( "<span  id=\"error_title\">" + rc.getMessage( MessageConstants.REPORT_ERROR_MESSAGE, new Object[]{ info.getType( ), info.getElementInfo( ) } ) + "</span>");
	private void appendErrorMessage(int index, StringBuffer errMsg, ElementExceptionInfo info)	{		errMsg.append("<div><span id=\"error_icon" + index +"\"  style=\"cursor:pointer\" onclick=\"expand(" + index +  ")\" > + </span>");		errMsg.append("<span  id=\"error_title\">There are error(s) in "+ info.getType() +":" + info.getElementInfo() + "</span>");		errMsg.append("<pre id=\"error_detail" + index+ "\" style=\"display:block\" >");		ArrayList errorList = info.getErrorList();		ArrayList countList = info.getCountList();		for(int i=0; i<errorList.size(); i++)		{			BirtException ex = (BirtException)errorList.get(i);			int count = ((Integer)countList.get(i)).intValue();			if(count==1)			{				errMsg.append("Error" + i + " : "+ ex.getErrorCode() + "(1 time)"); //$NON-NLS-1$ //$NON-NLS-2$			}			else			{				errMsg.append("Error" + i + " : " + ex.getErrorCode() + "(" + count + "times)"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$			}			errMsg.append((char) Character.LINE_SEPARATOR);			errMsg.append("detail: " + getDetailMessage(ex)); //$NON-NLS-1$		}		errMsg.append("</pre></div>"); //$NON-NLS-1$	}