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