Bug 200979 BIRT Cross tab - Better error messages
In general the error messages are very generic - either "Cube does not exist" followed by stack trace or - stack trace. From the error message it is difficult to fix the problem in the report design. I have attached a couple of report design, in which case the error messages are so difficult to follow. We need to show user friendly error messages. ( This bug applies to data engine errors and engine errors ).
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/facttable/FactTableAccessor.java
int[] result = new int[dimensionPosition.length];
		for ( int i = 0; i < result.length; i++ )
		{
			result[i] = dimensionDivision[i].getSubDimensionIndex( dimensionPosition[i] );
		}
		return result;
	}
	
	/**
	 * 
	 * @param factTableName
	 * @param stopSign
	 * @return
	 * @throws IOException
	 */
	public FactTable load( String factTableName, StopSign stopSign )
			throws IOException
	{
		int segmentNumber = 0;
		IDocumentObject documentObject = 
			documentManager.openDocumentObject( NamingUtil.getFactTableName( factTableName ) );
		DimensionInfo[] dimensionInfo = new DimensionInfo[documentObject.readInt( )];
		for ( int i = 0; i < dimensionInfo.length; i++ )
		{
			dimensionInfo[i] = new DimensionInfo( );
			dimensionInfo[i].dimensionName = documentObject.readString( );
			dimensionInfo[i].dimensionLength = documentObject.readInt( );
		}
		MeasureInfo[] measureInfo = new MeasureInfo[documentObject.readInt( )];
		for ( int i = 0; i < measureInfo.length; i++ )