Revision 10627 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/instruction/AndExprAdapter.java

View differences:

AndExprAdapter.java
26 26
	public Value evaluate(long row) throws EvaluationException {
27 27
		Value ret = null;
28 28

  
29
		Adapter[] expr = (Adapter[]) getChilds();
29
		Adapter[] expr = getChilds();
30 30

  
31 31
		if (expr.length > 0) {
32 32
			ret = ((Expression) expr[0]).evaluateExpression(row);
......
35 35
				try {
36 36
                    ret = ret.and(((Expression) expr[i]).evaluateExpression(row));
37 37
                } catch (IncompatibleTypesException e) {
38
                    throw new EvaluationException(e);
38
                    throw new EvaluationException(getClass().getName(),e);
39 39
                }
40 40
			}
41 41
		}

Also available in: Unified diff