132 references to ExprException
System.Data.Common (132)
System\Data\Common\BooleanStorage.cs (1)
74throw ExprException.Overflow(typeof(bool));
System\Data\Common\ByteStorage.cs (1)
146throw ExprException.Overflow(typeof(byte));
System\Data\Common\CharStorage.cs (1)
73throw ExprException.Overflow(typeof(char));
System\Data\Common\DateTimeOffsetStorage.cs (1)
83throw ExprException.Overflow(typeof(DateTimeOffset));
System\Data\Common\DateTimeStorage.cs (1)
83throw ExprException.Overflow(typeof(DateTime));
System\Data\Common\DecimalStorage.cs (1)
151throw ExprException.Overflow(typeof(decimal));
System\Data\Common\DoubleStorage.cs (1)
146throw ExprException.Overflow(typeof(double));
System\Data\Common\Int16Storage.cs (1)
160throw ExprException.Overflow(typeof(short));
System\Data\Common\Int32Storage.cs (1)
159throw ExprException.Overflow(typeof(int));
System\Data\Common\Int64Storage.cs (1)
151throw ExprException.Overflow(typeof(long));
System\Data\Common\SByteStorage.cs (1)
146throw ExprException.Overflow(typeof(sbyte));
System\Data\Common\SingleStorage.cs (1)
147throw ExprException.Overflow(typeof(float));
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
47throw ExprException.Overflow(typeof(SqlBinary));
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
81throw ExprException.Overflow(typeof(SqlBoolean));
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
48throw ExprException.Overflow(typeof(SqlBytes));
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
156throw ExprException.Overflow(typeof(SqlByte));
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
48throw ExprException.Overflow(typeof(SqlChars));
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
83throw ExprException.Overflow(typeof(SqlDateTime));
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
155throw ExprException.Overflow(typeof(SqlDecimal));
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
156throw ExprException.Overflow(typeof(SqlDouble));
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
48throw ExprException.Overflow(typeof(SqlGuid));
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
156throw ExprException.Overflow(typeof(SqlInt16));
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
156throw ExprException.Overflow(typeof(SqlInt32));
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
157throw ExprException.Overflow(typeof(SqlInt64));
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
156throw ExprException.Overflow(typeof(SqlMoney));
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
154throw ExprException.Overflow(typeof(SqlSingle));
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
89throw ExprException.Overflow(typeof(SqlString));
System\Data\Common\TimeSpanStorage.cs (1)
142throw ExprException.Overflow(typeof(TimeSpan));
System\Data\Common\UInt16Storage.cs (1)
159throw ExprException.Overflow(typeof(ushort));
System\Data\Common\UInt32Storage.cs (1)
157throw ExprException.Overflow(typeof(uint));
System\Data\Common\UInt64Storage.cs (1)
151throw ExprException.Overflow(typeof(ulong));
System\Data\DataColumn.cs (1)
504throw ExprException.UnsupportedDataType(value);
System\Data\Filter\AggregateNode.cs (10)
63throw ExprException.UndefinedFunction(Function.s_functionName[(int)aggregateType]); 74throw ExprException.AggregateUnbound(ToString()!); 91throw ExprException.UnresolvedRelation(table.TableName, ToString()!); 99throw ExprException.AggregateUnbound(ToString()!); 113throw ExprException.UnboundName(_columnName); 169throw ExprException.AggregateUnbound(ToString()!); 182throw ExprException.EvalNoContext(); 186throw ExprException.AggregateUnbound(ToString()!); 230throw ExprException.AggregateUnbound(ToString()!); 233throw ExprException.ComputeNotAggregate(ToString()!);
System\Data\Filter\BinaryNode.cs (13)
90throw ExprException.InvalidIsSyntax(); 99throw ExprException.InvalidIsSyntax(); 104throw ExprException.InvalidIsSyntax(); 137throw ExprException.TypeMismatchInBinop(op, left, right); 1090throw ExprException.InWithoutParentheses(); 1123throw ExprException.UnsupportedOperator(op); 1128throw ExprException.Overflow(DataStorage.GetTypeStorage(resultType)); 1365throw ExprException.AmbiguousBinop(op, DataStorage.GetTypeStorage(left), DataStorage.GetTypeStorage(right)); 1478throw ExprException.AmbiguousBinop(op, DataStorage.GetTypeStorage(left), DataStorage.GetTypeStorage(right)); 1621throw ExprException.InvalidPattern(pat); 1630throw ExprException.InvalidPattern(pat); 1636throw ExprException.InvalidPattern(pat); 1641throw ExprException.InvalidPattern(pat);
System\Data\Filter\DataExpression.cs (6)
44throw ExprException.UnsupportedDataType(type!); 150throw ExprException.DatavalueConversion(result, _dataType!); 203throw ExprException.InvokeArgument(); 213throw ExprException.FilterConversion(Expression); 273throw ExprException.DatavalueConversion(value, typeof(bool)); 277throw ExprException.DatavalueConversion(value, typeof(bool));
System\Data\Filter\ExpressionParser.cs (24)
192throw ExprException.MissingOperand(opInfo); 198throw ExprException.MissingRightParen(); 217throw ExprException.MissingOperator(new string(_text, _start, _pos - _start)); 228throw ExprException.InWithoutParentheses(); 261throw ExprException.LookupArgument(); 352throw ExprException.SyntaxError(); 390throw ExprException.TooManyRightParentheses(); 400throw ExprException.MissingOperand(opInfo); 442throw ExprException.MissingOperandBefore(","); 453throw ExprException.SyntaxError(); 487throw ExprException.MissingOperandBefore(Operators.ToString(_op)); 517throw ExprException.MissingOperator(new string(_text, _start, _pos - _start)); 544throw ExprException.UnknownToken(new string(_text, _start, _pos - _start), _start + 1); 575throw ExprException.AggregateArgument(); 608throw ExprException.AggregateArgument(); 644throw ExprException.ExpressionTooComplex(); 694throw ExprException.UnsupportedOperator(opInfo._op); 745throw ExprException.UnsupportedOperator(opInfo._op); 780throw ExprException.UnknownToken(token, _token, _pos); 974throw ExprException.UnknownToken(new string(text, _start, _pos - _start), _start + 1); 1069throw ExprException.InvalidNameBracketing(new string(text, _start, (_pos - 1) - _start)); 1092throw ExprException.InvalidDate(new string(text, _start, (_pos - 1) - _start)); 1094throw ExprException.InvalidDate(new string(text, _start, _pos - _start)); 1167throw ExprException.InvalidString(new string(text, _start, (_pos - 1) - _start));
System\Data\Filter\FunctionNode.cs (27)
63throw ExprException.UndefinedFunction(_name); 70throw ExprException.FunctionArgumentCount(_name); 95throw ExprException.FunctionArgumentCount(_name); 133throw ExprException.FunctionArgumentCount(_name); 165throw ExprException.ArgumentType(s_funcs[_info]._name, i + 1, s_funcs[_info]._parameters[i]!); 170throw ExprException.ArgumentType(s_funcs[_info]._name, i + 1, s_funcs[_info]._parameters[i]!); 182throw ExprException.ComputeNotAggregate(ToString()!); 266throw ExprException.NonConstantArgument(); 296throw ExprException.ArgumentType(s_funcs[_info]._name, 2, typeof(Type)); 303throw ExprException.InvalidType(typeName); 329throw ExprException.ArgumentTypeInteger(s_funcs[_info]._name, 1); 341_ => throw ExprException.DatatypeConversion(argumentValues[0].GetType(), typeof(bool)), 393throw ExprException.NYI(s_funcs[_info]._name); 438throw ExprException.FunctionArgumentOutOfRange("index", "Substring"); 441throw ExprException.FunctionArgumentOutOfRange("length", "Substring"); 479throw ExprException.FunctionArgumentCount(_name); 540throw ExprException.MismatchKindandTimeSpan(); 546throw ExprException.MismatchKindandTimeSpan(); 552throw ExprException.InvalidHoursArgument(); 554throw ExprException.InvalidMinutesArgument(); 557throw ExprException.InvalidTimeZoneRange(); 559throw ExprException.InvalidTimeZoneRange(); 564throw ExprException.UndefinedFunction(s_funcs[_info]._name); 598throw ExprException.UndefinedFunction(_name); 607throw ExprException.InWithoutList(); 609throw ExprException.FunctionArgumentCount(_name); 615throw ExprException.FunctionArgumentCount(_name);
System\Data\Filter\LookupNode.cs (7)
31throw ExprException.ExpressionUnbound(ToString()!); 44throw ExprException.UnresolvedRelation(table.TableName, ToString()!); 54throw ExprException.BindFailure(_relationName!); // this operation is not clone specific, throw generic exception 64throw ExprException.UnboundName(_columnName); 89throw ExprException.EvalNoContext(); 96throw ExprException.ExpressionUnbound(ToString()!); 108throw ExprException.ComputeNotAggregate(ToString()!);
System\Data\Filter\NameNode.cs (8)
38throw ExprException.UnboundName(_name); 51throw ExprException.UnboundName(_name); 55throw ExprException.UnboundName(_name); 83throw ExprException.EvalNoContext(); 91throw ExprException.UnboundName(_name); 100throw ExprException.UnboundName(_name); 110throw ExprException.ComputeNotAggregate(ToString()!); 209throw ExprException.InvalidName(new string(text, saveStart, savePos - saveStart));
System\Data\Filter\UnaryNode.cs (4)
66throw ExprException.TypeMismatch(ToString()!); 125throw ExprException.TypeMismatch(ToString()!); 138throw ExprException.UnsupportedOperator(op); // or should the result of not SQLNull be SqlNull ? 148throw ExprException.UnsupportedOperator(op);
System\Data\Select.cs (1)
631throw ExprException.FilterConversion(_rowFilter!.Expression);