Revision 11524

View differences:

branches/v10/extensions/extExpressionField/.classpath
7 7
	<classpathentry combineaccessrules="false" kind="src" path="/extCAD"/>
8 8
	<classpathentry combineaccessrules="false" kind="src" path="/libFMap"/>
9 9
	<classpathentry kind="lib" path="/extScripting/lib/bsf-2.3.0rc1.jar"/>
10
	<classpathentry kind="lib" path="/extScripting/lib/bsh-2.0b1.jar"/>
11 10
	<classpathentry sourcepath="/libGDBMS" kind="lib" path="/libFMap/lib/gdbms-0.8-SNAPSHOT.jar"/>
12 11
	<classpathentry sourcepath="/libCq CMS for java" kind="lib" path="/libFMap/lib/cms.jar"/>
13 12
	<classpathentry sourcepath="/libUI" kind="lib" path="/_fwAndami/lib/beans.jar"/>
branches/v10/extensions/extExpressionField/.project
17 17
		</buildCommand>
18 18
	</buildSpec>
19 19
	<natures>
20
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
20 21
		<nature>org.eclipse.jdt.core.javanature</nature>
22
		<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
21 23
	</natures>
22 24
</projectDescription>
branches/v10/extensions/extExpressionField/src/com/iver/cit/gvsig/project/documents/table/operators/AbstractField.java
5 5
import org.apache.bsf.BSFException;
6 6
import org.apache.bsf.BSFManager;
7 7

  
8
import bsh.EvalError;
9 8

  
10 9
import com.hardcode.gdbms.engine.data.driver.DriverException;
11 10
import com.hardcode.gdbms.engine.values.BooleanValue;
......
36 35
				return value.toString();
37 36
			}
38 37
		} catch (DriverException e) {
39
			new EvalError(e.getMessage(),null,null);
38
			throw new RuntimeException(e.getMessage());
40 39
		}
41
		return null;
42 40
	}
43 41
	public void eval(BSFManager interpreter) throws BSFException {
44 42
		if (!isEval){
branches/v10/extensions/extExpressionField/src/com/iver/cit/gvsig/project/documents/table/operators/FieldCopy.java
5 5
import org.apache.bsf.BSFException;
6 6
import org.apache.bsf.BSFManager;
7 7

  
8
import bsh.EvalError;
9 8

  
10 9
import com.hardcode.gdbms.engine.data.driver.DriverException;
11 10
import com.hardcode.gdbms.engine.values.BooleanValue;
......
52 51
				return value.toString();
53 52
			}
54 53
		} catch (DriverException e) {
55
			new EvalError(e.getMessage(),null,null);
54
			throw new RuntimeException(e.getMessage());
56 55
		}
57
		return null;
58 56
	}
59 57
	public String toString() {
60 58
		return "["+fd.getFieldAlias()+"]";
branches/v10/extensions/extExpressionField/src/com/iver/cit/gvsig/project/documents/table/gui/EvalExpresionDialog.java
31 31
import org.gvsig.gui.beans.AcceptCancelPanel;
32 32
import org.gvsig.gui.beans.swing.JButton;
33 33

  
34
import bsh.EvalError;
35 34

  
36 35
import com.hardcode.gdbms.engine.data.driver.DriverException;
37 36
import com.iver.andami.PluginServices;

Also available in: Unified diff