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 LineRenderEvent lre = (LineRenderEvent) pre;
				if ( i == 0 )
				{
					gp.moveTo( (float) lre.getStart( ).getX( ),
							(float) lre.getStart( ).getY( ) );
				}
				gp.lineTo( (float) lre.getEnd( ).getX( ), (float) lre.getEnd( )
						.getY( ) );
			}
		}
		
		Region previousClipping = new Region( );
		_gc.getClipping( previousClipping );
		
		_gc.setClipping( gp );
		try
		{
			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( gp );
					cBG.dispose( );
					_gc.setBackground( cPreviousBG );