writer.writeCode( "					" + rc.getMessage( MessageConstants.REPORT_ERROR_ID, new Object[]{ new Integer( i ), ex.getErrorCode( ), countList.get( i ) } ) + Character.LINE_SEPARATOR + rc.getMessage( MessageConstants.REPORT_ERROR_DETAIL ) + getDetailMessage(ex));
writer.writeCode( rc.getMessage( MessageConstants.REPORT_ERROR_ID, new Object[]{new Integer( i ), ex.getErrorCode( ), countList.get( i )} ) + (char) Character.LINE_SEPARATOR + rc.getMessage( MessageConstants.REPORT_ERROR_DETAIL ) + getDetailMessage( ex ) );
	private void appendErrorMessage(int index, ElementExceptionInfo info)	{		EngineResourceHandle rc = EngineResourceHandle.getInstance();		writer.writeCode("			<div>" );		writer.writeCode("				<span id=\"error_icon" + index +"\"  style=\"cursor:pointer\" onclick=\"expand(" + index +  ")\" > + </span>");		writer.writeCode("				<span  id=\"error_title\">" +				rc.getMessage( MessageConstants.REPORT_ERROR_MESSAGE, new Object[]{ info.getType( ), info.getElementInfo( ) } ) +				"</span>");		writer.writeCode("				<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);			writer.writeCode( "					" + rc.getMessage( MessageConstants.REPORT_ERROR_ID, new Object[]{ new Integer( i ), ex.getErrorCode( ), countList.get( i ) } ) 					+ Character.LINE_SEPARATOR + rc.getMessage( MessageConstants.REPORT_ERROR_DETAIL ) + getDetailMessage(ex)); //$NON-NLS-1$		}		writer.writeCode("				</pre>" );		writer.writeCode("		</div>"); //$NON-NLS-1$	}