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.addArc( (float) ( ( are.getTopLeft( ).getX( ) + dTranslateX ) * dScale ),
						(float) ( ( are.getTopLeft( ).getY( ) + dTranslateY ) * dScale ),
						(float) ( are.getWidth( ) * dScale ),
						(float) ( are.getHeight( ) * dScale ),
						(float) are.getStartAngle( ),
						(float) are.getAngleExtent( ) );
				pt.lineTo( (float) xs, (float) ys );
				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 );
					RectangleRenderEvent rre = (RectangleRenderEvent) ( (EventObjectCache) this ).getEventObject( are.getSource( ),