Bug 200755 [smoke]Fail to preview Crosstab after deploy BIRT in application servers.[0601][1102]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java
* @param filters
	 * @throws DataException
	 */
	private void validateFilters( ) throws DataException
	{
		for ( int i = 0; i < this.queryDefn.getFilters( ).size( ); i++ )
		{
			IFilterDefinition filter = (IFilterDefinition) this.queryDefn.getFilters( ).get( i );
			if ( hasRowNumRefExpr( filter.getExpression( ) ) )
				throw new DataException( ResourceConstants.FILTER_EXPR_CONTAIN_ROW_NUM );
		}
	}
	/**
	 * 
	 * @param sorts
	 * @throws DataException
	 */
	private void validateSorts( ) throws DataException
	{
		for ( int i = 0; i < this.queryDefn.getSorts( ).size( ); i++ )
		{
			ISortDefinition sort = (ISortDefinition) this.queryDefn.getSorts( ).get( i );
			if ( hasRowNumRefExpr( sort.getExpression( ) ) )
				throw new DataException( ResourceConstants.SORT_EXPR_CONTAIN_ROW_NUM );
		}
	}
	/**
	 * 
	 * @param expr
	 * @return