Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/errordisplay/ErrorDialog.java
import org.eclipse.swt.custom.StackLayout;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
/**
 * ErrorDialog
 */
public class ErrorDialog implements SelectionListener
{
	
	public static final String OPTION_ACCEPT = "ACCEPT"; 
	public static final String OPTION_CANCEL = "CANCEL"; 
	public static final int MAX_TRACE_DEPTH = 2;
	public static final int DEFAULT_WIDTH = 450;
	public static final int DEFAULT_HEIGHT = 210;
	public static final int MAX_HEIGHT = 400;
	
	private transient Display display = Display.getDefault( );
	private transient Shell shell = null;
	private transient Label lblImage = null;
	private transient Composite cmpContainer = null;