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
reportContent.getErrors( ).add( exInfo );
			else
				onPrepareErrors.add( exInfo );
			elementExceptions.put( element, exInfo );
		}
		exInfo.addException( ex );
	}
	/**
	 * report object is the script object used in the script context.
	 * 
	 * All infos can get from this object.
	 * 
	 * 
	 */
	private class ReportObject
	{
		/**
		 * get the report design handle
		 * 
		 * @return report design object.
		 */
		public Object getDesign( )
		{
			return scriptContext.eval( "design" );
		}
		/**
		 * get the report document.
		 * 
		 * @return report document.
		 */