Bug 206861 The data set cache should handle IOException and the cancel request from customer
The data set data will be saved into disk file in the first query and it will be loaded in the later time. The processing of write disk file may be cancelled by customer request or IOException. Using the data from the bad file will cause error.
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/DataSetCacheTest.java
private List expectedValue;
	private IBaseExpression[] rowBeArray;
	private IBaseExpression[] totalBeArray;
	private String[] bindingNameRow;
	private String[] bindingExprRow;
	Map appContextMap = new HashMap( );
	ScriptableObject scope;
	private DataEngineImpl myDataEngine;
	/*
	 * @see junit.framework.TestCase#setUp()
	 */
	public void setUp( ) throws Exception
	{
		super.setUp( );
		Context context = Context.enter( );
		scope = context.initStandardObjects( );
		Context.exit( );
		expectedValue = new ArrayList( );
		appContextMap.put( DataEngine.DATASET_CACHE_OPTION, "true" );
		this.appContextMap.put( DataEngine.DATA_SET_CACHE_ROW_LIMIT, null);
		myDataEngine = newDataEngine( );
	}
	/*
	 * @see junit.framework.TestCase#tearDown()
	 */
	public void tearDown( ) throws Exception
	{
		super.tearDown( );
		myDataEngine.clearCache( this.dataSource, this.dataSet );