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.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
{
					sh.register( sScriptContent );
				}
			}
			catch ( ChartException sx )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.GENERATION,
						sx );
			}
		}
		
		ScriptHandler.callFunction( sh,
				ScriptHandler.START_GENERATION,
				cmRunTime );
		ScriptHandler.callFunction( sh,
				ScriptHandler.BEFORE_GENERATION,
				cmRunTime,
				rtc.getScriptContext( ) );
		int iChartType = UNDEFINED;
		Object oComputations = null;
		if ( cmRunTime instanceof ChartWithAxes )
		{
			iChartType = WITH_AXES;
			try
			{
				if ( cmRunTime.getDimension( ) == ChartDimension.THREE_DIMENSIONAL_LITERAL )
				{
					oComputations = new PlotWith3DAxes( ids,
							(ChartWithAxes) cmRunTime,