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.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
/**
	 * Adds the exception
	 * 
	 * @param ex
	 *            the Throwable instance
	 */
	public void addException( BirtException ex )
	{
		DesignElementHandle handle = null;
		if ( !reportContents.empty( ) )
		{
			IContent content = getContent( );
			ReportItemDesign design = null;
			if ( content != null )
				design = (ReportItemDesign) content.getGenerateBy( );
			handle = design == null ? null : design.getHandle( );
		}
		else
			handle = getHandle( );
		addException( handle, ex );
	}
	protected HashMap elementExceptions = new HashMap( );
	public void addException( DesignElementHandle element, BirtException ex )
	{
		ElementExceptionInfo exInfo = (ElementExceptionInfo) elementExceptions
				.get( element );
		if ( exInfo == null )
		{
			exInfo = new ElementExceptionInfo( element );
			if ( reportContent != null )