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
{
			case TextRenderEvent.UNDEFINED :
				throw new ChartException( ChartDeviceSwtActivator.ID,
						ChartException.RENDERING,
						"SwtRendererImpl.exception.unspecified.text.rendering.action",
						Messages.getResourceBundle( getULocale( ) ) );
			case TextRenderEvent.RENDER_SHADOW_AT_LOCATION :
				Location lo = (Location) EcoreUtil.copy( tre.getLocation( ) );
				lo.translate( dTranslateX, dTranslateY );
				lo.scale( dScale );
				tr.renderShadowAtLocation( this,
						tre.getTextPosition( ),
						lo,
						tre.getLabel( ) );
				break;
			case TextRenderEvent.RENDER_TEXT_AT_LOCATION :
				lo = (Location) EcoreUtil.copy( tre.getLocation( ) );
				lo.translate( dTranslateX, dTranslateY );
				lo.scale( dScale );
				tr.renderTextAtLocation( this,
						tre.getTextPosition( ),
						lo,
						tre.getLabel( ) );
				break;
			case TextRenderEvent.RENDER_TEXT_IN_BLOCK :
				final Bounds bo = BoundsImpl.copyInstance( tre.getBlockBounds( ) );
				bo.translate( dTranslateX, dTranslateY );
				bo.scale( dScale );
				tr.renderTextInBlock( this,
						bo,