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
* @throws BirtException
	 */
	public void testDisableCache( ) throws BirtException
	{
		DataEngineContext context = DataEngineContext.newInstance( DataEngineContext.DIRECT_PRESENTATION,
				null,
				null,
				null );
		context.setCacheOption( DataEngineContext.CACHE_USE_DISABLE, 4 );
		DataEngineImpl myDataEngine2 = (DataEngineImpl) DataEngine.newDataEngine( context );
		myDataEngine2.defineDataSource( this.dataSource );
		myDataEngine2.defineDataSet( this.dataSet );
		QueryDefinition qd = newReportQuery( );
		IQueryResults qr = myDataEngine2.prepare( qd ).execute( null );
		assertFalse( getDataSetCacheManager( myDataEngine2 ).doesLoadFromCache( ) );
		qr.getResultIterator( );
		assertFalse( getDataSetCacheManager( myDataEngine2 ).doesLoadFromCache( ) );
		qr.close( );
		myDataEngine2.shutdown( );
	}
	/**
	 * Test the feature of cache. Check the data in between the cache use is corret.
	 *@throws BirtException
	 */
	public void testOdaCache( ) throws BirtException
	{
		genCache( );
		useCache( );
	}
	/**