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/SwtEventHandler.java
{
						break;
					}
				}
			}
			if ( !bFound )
			{
				throw new ChartException( ChartDeviceSwtActivator.ID,
						ChartException.OUT_OF_SYNC,
						"SwtEventHandler.info.cannot.find.series", 
						new Object[]{
							seRT
						},
						Messages.getResourceBundle( lcl ) );
			}
			if ( i == -1 )
			{
				elSD = cwoaDT.getSeriesDefinitions( );
			}
			else
			{
				elSD = ( (SeriesDefinition) cwoaDT.getSeriesDefinitions( )
						.get( 0 ) ).getSeriesDefinitions( );
			}
			sd = (SeriesDefinition) elSD.get( j );
			elSE = sd.getSeries( );
			seDT = (Series) elSE.get( k );
		}
		return seDT;
	}