Bug 208168 Meaningless exception occurs when sorting condition refer to a unused binding[07]
Description: Meaningless exception occurs when sorting condition refer to a unused binding[07] Build number: 2.3.0.v2007-0800 Steps to reproduce: 1, New a table binding with a dataset 2, Define a Sort for the table 3, Delete the binding of table which is using by sorting condition 4, Preview Expected result: The exception should be meaningful. Actual result: Exception is meaningless for user to clear the mistake point Error log: An error happen during population of data. This might be caused by including data of mixed type in a column of "ANY" type
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ComputedColumnHelper.java
/**
	 * 
	 * @param rePrepare
	 */
	public void setRePrepare( boolean rePrepare )
	{
		if ( this.getCurrentInstance( ) != null )
			this.getCurrentInstance( ).setRePrepare( rePrepare );
	}
	/**
	 * 
	 * @param model
	 */
	public void setModel( int model )
	{
		if ( model == TransformationConstants.DATA_SET_MODEL )
			this.currentModel = this.dataSetInstance;
		else if ( model == TransformationConstants.RESULT_SET_MODEL )
			this.currentModel = this.resultSetInstance;
		else if ( model == TransformationConstants.PRE_CALCULATE_MODEL )
			this.currentModel = this.availableModeInstance;
		else
			this.currentModel = null;
	}
		
	/**
	 * 
	 * @param dataSetCCList
	 * @return
	 */