public static Exception AggregateArgument() { return(ParserException.CreateException("Syntax error in aggregate argument: Expecting a single column argument.")); }
public static Exception UnknownToken(string token, int position) { return(ParserException.CreateException("Cannot interpret token '{0}' at position {1}.", (object)token, (object)position)); }
public static Exception TooManyRightParentheses() { return(ParserException.CreateException("The expression has too many closing parentheses.")); }
public static Exception SystaxError() { return(ParserException.CreateException("Syntax error in the expression.")); }
public static Exception MissingOperand(string op) { return(ParserException.CreateException("Syntax error: Missing operand after '{0}' operator.", (object)op)); }
public static Exception MissingRightParen() { return(ParserException.CreateException("The expression is missing the closing parenthesis.")); }
public static Exception UnsupportedOperator(string op) { return(ParserException.CreateException("The expression contains unsupported operator '{0}'.", (object)op)); }
public static Exception MissingOperator(string token) { return(ParserException.CreateException("Missing operator before {0} operand.", (object)token)); }