Bug 148951 Wrong error msg when set nonexisted col as group key
Description: Wrong error msg when set nonexisted col as group key Steps to reproduce: 1. Insert a table, bind it to dataset 2. Add a group, input abc as group key which is invalid. 3. Preview Expected result: Friendly error msg to tell user the group key is wrong. Actual result: + Group key "abc" in group 1 cannot depend on column bindings defined in the group lower than itself. data.engine.InvalidGroupKey ( 1 time(s) ) detail : org.eclipse.birt.data.engine.core.DataException: Group key "OUNTR" in group 1 cannot depend on column bindings defined in the group lower than itself.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExprManagerUtil.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.eclipse.birt.data.engine.api.IBaseExpression;
import org.eclipse.birt.data.engine.api.IConditionalExpression;
import org.eclipse.birt.data.engine.api.IScriptExpression;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.birt.data.engine.expression.ExpressionCompilerUtil;
import org.eclipse.birt.data.engine.expression.ExpressionParserUtil;
import org.eclipse.birt.data.engine.i18n.ResourceConstants;
/**
 * This is a utility class which is used to validate the colum bindings defined 
 * in ExprManager instance.
 */
class ExprManagerUtil