Bug 121111 Bad event handler class name does not cause an error
Open a report design, open any Data Set's Property editor. Type in an invalid Java class name for the "Event Handler Class" property, say "aaa". Preview a report that uses that Data Set. The report executes normally. No error is shown. Event handlers are an integral part of a report design, and if a script handler class is not found, or if the handler throws a runtime exception, Report Engine should either stop the report execution, or show the error message in the generated report. (Tested with the 2005-12-15 nightly build)
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
}
	
	/**
	 * Constructs an instance with the given report context and scope
	 * 
	 * @param reportContext
	 *            Context for event handlers. May be null
	 * @param jsScope
	 *            Scope for evaluting property binding expressions. If null,
	 *            property bindings have no effect
	 */
	public ModelDteApiAdapter( IReportContext reportContext, Scriptable jsScope )
	{
		this.reportContext = reportContext;
		this.jsScope = jsScope;
	}
	/**
	 * Adapts the specified Model Data Source to a Data Engine API data source design object
	 */
	public IBaseDataSourceDesign createDataSourceDesign( DataSourceHandle dataSource )
			throws BirtException
	{
		if ( dataSource instanceof OdaDataSourceHandle )
			return newExtendedDataSource( ( OdaDataSourceHandle ) dataSource);
		if ( dataSource instanceof ScriptDataSourceHandle )
			return newScriptDataSource( ( ScriptDataSourceHandle ) dataSource);
		
		assert false;
		return null;
	}