Bug 211371 Runtime error will clear design error in Problem View[0002]
Description: Runtime error will clear design error in Problem View Build number:2.3.0.v20071129 Steps to reproduce: 1. Open attached report, there will be an error in problem view to say the second table need dataset. 2. Preview the report. 3. Check Problem View Expected result: Two Errors for the report. One for designer error and the other is preview error since the first table has a blank group. Actual result: Preview error will delete designer error and replace it with preview Exception. Error log:n/a
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/MarkerUtil.java
{
	/**
	 * Problem marker id
	 */
	public static final String PROBLEMS_MARKER_ID = "org.eclipse.core.resources.problemmarker"; 
	/**
	 * Current workspace root
	 */
	private static IWorkspaceRoot workspaceRoot = ResourcesPlugin
			.getWorkspace( ).getRoot( );
	/**
	 * Add marker
	 * 
	 * @param systemId
	 * @param message
	 * @param lineNumber
	 * @param severity
	 * @param priority
	 * @throws CoreException
	 */
	public static void addMarker( String systemId, String message,
			int lineNumber, int severity, int priority ) throws CoreException
	{
		IResource resource = createResourceFromSystemID( systemId );
		addMarker( resource, message, lineNumber, severity, priority );
	}