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
/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Actuate Corporation - Initial implementation.
 ************************************************************************************/
package org.eclipse.birt.report.viewer.utilities;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
/**
 * Utility class to append error/fatal/warning/info message into Problems View.
 */
public class MarkerUtil