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.device.swt/src/org/eclipse/birt/chart/device/swt/SwtRendererImpl.java
final Region rgPreviousClipping = new Region( );
		_gc.getClipping( rgPreviousClipping );
		final Region rg = new Region( );
		rg.add( getCoordinatesAsInts( pre.getPoints( ),
				TRUNCATE,
				dTranslateX,
				dTranslateY,
				dScale ) );
		rg.intersect( rgPreviousClipping );
		_gc.setClipping( rg );
		RectangleRenderEvent rre = (RectangleRenderEvent) ( (EventObjectCache) this ).getEventObject( pre.getSource( ),
				RectangleRenderEvent.class );
		rre.setBackground( pre.getBackground( ) );
		try
		{
			rre.setBounds( pre.getBounds( ) );
			rre.setOutline( pre.getOutline( ) );
			fillRectangle( rre );
		}
		catch ( ChartException ufex )
		{
			throw new ChartException( ChartDeviceSwtActivator.ID,
					ChartException.RENDERING,
					ufex );
		}
		finally
		{
			_gc.setClipping( rgPreviousClipping );
			rg.dispose( );
			rgPreviousClipping.dispose( );