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
pt.lineTo( (float) xeInner, (float) yeInner );
			pt.addArc( (float) rctInner.getLeft( ),
					(float) rctInner.getTop( ),
					(float) rctInner.getWidth( ),
					(float) rctInner.getHeight( ),
					(float) ( are.getStartAngle( ) + are.getAngleExtent( ) ),
					(float) -are.getAngleExtent( ) );
			pt.lineTo( (float) xsOuter, (float) ysOuter );
			if ( flBackground instanceof ColorDefinition )
			{
				final ColorDefinition cd = (ColorDefinition) flBackground;
				
				if ( !( cd.isSetTransparency( ) && cd.getTransparency( ) == 0 ) )
				{
					final Color cBG = (Color) _ids.getColor( cd );
					final Color cPreviousBG = _gc.getBackground( );
					_gc.setBackground( cBG );
					R31Enhance.setAlpha( _gc, cd );
					_gc.fillPath( pt );
					cBG.dispose( );
					_gc.setBackground( cPreviousBG );
				}
			}
			else if ( flBackground instanceof Gradient
					|| flBackground instanceof org.eclipse.birt.chart.model.attribute.Image )
			{
				Region previousClipping = new Region( );
				_gc.getClipping( previousClipping );
				
				_gc.setClipping( pt );