//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.boris.expr.Expr evaluateBoolean(ExprAbstractEvaluationContext paramExprAbstractEvaluationContext) throws org.boris.expr.ExprException private Expr evaluateBoolean(ExprAbstractEvaluationContext paramExprAbstractEvaluationContext) { Expr expr = paramExprAbstractEvaluationContext.parseStatement(this.fTable.Implementation); if (!(expr is org.boris.expr.ExprNumber)) { throw new ExprException("Function " + this.fTable.Name + " does not return a Boolean!"); } return(expr); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.boris.expr.Expr evaluateArray(ExprAbstractEvaluationContext paramExprAbstractEvaluationContext) throws org.boris.expr.ExprException private Expr evaluateArray(ExprAbstractEvaluationContext paramExprAbstractEvaluationContext) { Expr expr = paramExprAbstractEvaluationContext.parseStatement(this.fTable.Implementation); if (!(expr is ExprArray)) { throw new ExprException("Function " + this.fTable.Name + " does not return a Array!"); } return(expr); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.boris.expr.Expr evaluateConstant(ExprAbstractEvaluationContext paramExprAbstractEvaluationContext, nomitech.common.db.local.FunctionArgumentTable paramFunctionArgumentTable) throws org.boris.expr.ExprException private Expr evaluateConstant(ExprAbstractEvaluationContext paramExprAbstractEvaluationContext, FunctionArgumentTable paramFunctionArgumentTable) { if (paramFunctionArgumentTable.Type.Equals("datatype.image")) { return(new ExprString(paramFunctionArgumentTable.DefaultValue)); } if (paramFunctionArgumentTable.Type.Equals("datatype.calcvalue")) { try { return(new ExprDouble((new double?(paramFunctionArgumentTable.ValidationStatement)))); } catch (Exception) { } } Expr expr = paramExprAbstractEvaluationContext.parseStatement(paramFunctionArgumentTable.ValidationStatement); if (paramFunctionArgumentTable.Type.Equals("datatype.calcvalue") && !(expr is org.boris.expr.ExprNumber) && !(expr is ExprString)) { throw new ExprException("Function " + this.fTable.Name + " has constant " + paramFunctionArgumentTable.Name + " that does not return a Number or Text"); } return(expr); }