133 references to ExprException
System.Data (133)
fx\src\data\System\Data\Common\BooleanStorage.cs (1)
70throw ExprException.Overflow(typeof(Boolean));
fx\src\data\System\Data\Common\ByteStorage.cs (1)
136throw ExprException.Overflow(typeof(Byte));
fx\src\data\System\Data\Common\CharStorage.cs (1)
70throw ExprException.Overflow(typeof(Char));
fx\src\data\System\Data\Common\DateTimeOffsetStorage.cs (1)
74throw ExprException.Overflow(typeof(DateTimeOffset));
fx\src\data\System\Data\Common\DateTimeStorage.cs (1)
75throw ExprException.Overflow(typeof(DateTime));
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
136throw ExprException.Overflow(typeof(Decimal));
fx\src\data\System\Data\Common\DoubleStorage.cs (1)
136throw ExprException.Overflow(typeof(Double));
fx\src\data\System\Data\Common\Int16Storage.cs (1)
142throw ExprException.Overflow(typeof(Int16));
fx\src\data\System\Data\Common\Int32Storage.cs (1)
141throw ExprException.Overflow(typeof(Int32));
fx\src\data\System\Data\Common\Int64Storage.cs (1)
136throw ExprException.Overflow(typeof(Int64));
fx\src\data\System\Data\Common\SByteStorage.cs (1)
136throw ExprException.Overflow(typeof(SByte));
fx\src\data\System\Data\Common\SingleStorage.cs (1)
137throw ExprException.Overflow(typeof(Single));
fx\src\data\System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
47throw ExprException.Overflow(typeof(SqlBinary));
fx\src\data\System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
76throw ExprException.Overflow(typeof(SqlBoolean));
fx\src\data\System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
48throw ExprException.Overflow(typeof(SqlBytes));
fx\src\data\System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
144throw ExprException.Overflow(typeof(SqlByte));
fx\src\data\System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
47throw ExprException.Overflow(typeof(SqlChars));
fx\src\data\System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
78throw ExprException.Overflow(typeof(SqlDateTime));
fx\src\data\System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
143throw ExprException.Overflow(typeof(SqlDecimal));
fx\src\data\System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
144throw ExprException.Overflow(typeof(SqlDouble));
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
47throw ExprException.Overflow(typeof(SqlGuid));
fx\src\data\System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
144throw ExprException.Overflow(typeof(SqlInt16));
fx\src\data\System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
144throw ExprException.Overflow(typeof(SqlInt32));
fx\src\data\System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
145throw ExprException.Overflow(typeof(SqlInt64));
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
144throw ExprException.Overflow(typeof(SqlMoney));
fx\src\data\System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
145throw ExprException.Overflow(typeof(SqlSingle));
fx\src\data\System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
82throw ExprException.Overflow(typeof(SqlString));
fx\src\data\System\Data\Common\SQLTypes\SqlXmlStorage.cs (1)
46throw ExprException.Overflow(typeof(SqlXml));
fx\src\data\System\Data\Common\TimeSpanStorage.cs (1)
127throw ExprException.Overflow(typeof(TimeSpan));
fx\src\data\System\Data\Common\UInt16Storage.cs (1)
141throw ExprException.Overflow(typeof(UInt16));
fx\src\data\System\Data\Common\UInt32Storage.cs (1)
140throw ExprException.Overflow(typeof(UInt32));
fx\src\data\System\Data\Common\UInt64Storage.cs (1)
136throw ExprException.Overflow(typeof(UInt64));
fx\src\data\System\Data\DataColumn.cs (1)
550throw ExprException.UnsupportedDataType(value);
fx\src\data\System\Data\Filter\AggregateNode.cs (10)
67throw ExprException.UndefinedFunction(Function.FunctionName[(Int32)aggregateType]); 77throw ExprException.AggregateUnbound(this.ToString()); 90throw ExprException.UnresolvedRelation(table.TableName, this.ToString()); 96throw ExprException.AggregateUnbound(this.ToString()); 109throw ExprException.UnboundName(columnName); 154throw ExprException.AggregateUnbound(this.ToString()); 164throw ExprException.EvalNoContext(); 167throw ExprException.AggregateUnbound(this.ToString()); 203throw ExprException.AggregateUnbound(this.ToString()); 205throw ExprException.ComputeNotAggregate(this.ToString());
fx\src\data\System\Data\Filter\BinaryNode.cs (13)
79throw ExprException.InvalidIsSyntax(); 86throw ExprException.InvalidIsSyntax(); 90throw ExprException.InvalidIsSyntax(); 119throw ExprException.TypeMismatchInBinop(op, left, right); 821throw ExprException.InWithoutParentheses(); 853throw ExprException.UnsupportedOperator(op); 857throw ExprException.Overflow(DataStorage.GetTypeStorage(resultType)); 1075throw ExprException.AmbiguousBinop(op, DataStorage.GetTypeStorage(left), DataStorage.GetTypeStorage(right)); 1173throw ExprException.AmbiguousBinop(op, DataStorage.GetTypeStorage(left), DataStorage.GetTypeStorage(right)); 1310throw ExprException.InvalidPattern(pat); 1318throw ExprException.InvalidPattern(pat); 1323throw ExprException.InvalidPattern(pat); 1327throw ExprException.InvalidPattern(pat);
fx\src\data\System\Data\Filter\DataExpression.cs (6)
43throw ExprException.UnsupportedDataType(type); 131throw ExprException.DatavalueConvertion(result, _dataType, e); 172throw ExprException.InvokeArgument(); 180throw ExprException.FilterConvertion(Expression); 235throw ExprException.DatavalueConvertion(value, typeof(bool), e); 239throw ExprException.DatavalueConvertion(value, typeof(bool), null);
fx\src\data\System\Data\Filter\ExpressionParser.cs (24)
185throw ExprException.MissingOperand(opInfo); 190throw ExprException.MissingRightParen(); 208throw ExprException.MissingOperator(new string(text, start, pos - start)); 217throw ExprException.InWithoutParentheses(); 249throw ExprException.LookupArgument(); 338throw ExprException.SyntaxError(); 373throw ExprException.TooManyRightParentheses(); 382throw ExprException.MissingOperand(opInfo); 420throw ExprException.MissingOperandBefore(","); 432throw ExprException.SyntaxError(); 462throw ExprException.MissingOperandBefore(Operators.ToString(op)); 490throw ExprException.MissingOperator(new string(text, start, pos - start)); 517throw ExprException.UnknownToken(new string(text, start, pos - start), start+1); 546throw ExprException.AggregateArgument(); 580throw ExprException.AggregateArgument(); 613throw ExprException.ExpressionTooComplex(); 658throw ExprException.UnsupportedOperator(opInfo.op); 707throw ExprException.UnsupportedOperator(opInfo.op); 740throw ExprException.UnknownToken(token, this.token, pos); 920throw ExprException.UnknownToken(new string(text, start, pos - start), start+1); 1002throw ExprException.InvalidNameBracketing(new string(text, start, (pos - 1) - start)); 1023throw ExprException.InvalidDate(new string(text, start, (pos - 1) - start)); 1025throw ExprException.InvalidDate(new string(text, start, pos - start)); 1091throw ExprException.InvalidString(new string(text, start, (pos - 1) - start));
fx\src\data\System\Data\Filter\FunctionNode.cs (27)
58throw ExprException.UndefinedFunction(this.name); 64throw ExprException.FunctionArgumentCount(this.name); 85throw ExprException.FunctionArgumentCount(this.name); 115throw ExprException.FunctionArgumentCount(this.name); 139throw ExprException.ArgumentType(funcs[info].name, i+1, funcs[info].parameters[i]); 143throw ExprException.ArgumentType(funcs[info].name, i+1, funcs[info].parameters[i]); 153throw ExprException.ComputeNotAggregate(this.ToString()); 219throw ExprException.NonConstantArgument(); 242throw ExprException.ArgumentType(funcs[info].name, 2, typeof(Type)); 248throw ExprException.InvalidType(typeName); 266throw ExprException.ArgumentTypeInteger(funcs[info].name, 1); 282throw ExprException.DatatypeConvertion(argumentValues[0].GetType(), typeof(bool)); 333throw ExprException.NYI(funcs[info].name); 375throw ExprException.FunctionArgumentOutOfRange("index", "Substring"); 378throw ExprException.FunctionArgumentOutOfRange("length", "Substring"); 415throw ExprException.FunctionArgumentCount(this.name); 460throw ExprException.MismatchKindandTimeSpan(); 465throw ExprException.MismatchKindandTimeSpan(); 471throw ExprException.InvalidHoursArgument(); 473throw ExprException.InvalidMinutesArgument(); 476throw ExprException.InvalidTimeZoneRange(); 478throw ExprException.InvalidTimeZoneRange(); 483throw ExprException.UndefinedFunction(funcs[info].name); 512throw ExprException.UndefinedFunction(this.name); 519throw ExprException.InWithoutList(); 521throw ExprException.FunctionArgumentCount(this.name); 527throw ExprException.FunctionArgumentCount(this.name);
fx\src\data\System\Data\Filter\LookupNode.cs (7)
34throw ExprException.ExpressionUnbound(this.ToString()); 45throw ExprException.UnresolvedRelation(table.TableName, this.ToString()); 53throw ExprException.BindFailure(relationName);// WebData 112162: this operation is not clne specific, throw generic exception 63throw ExprException.UnboundName(columnName); 84throw ExprException.EvalNoContext(); 89throw ExprException.ExpressionUnbound(this.ToString()); 99throw ExprException.ComputeNotAggregate(this.ToString());
fx\src\data\System\Data\Filter\NameNode.cs (8)
42throw ExprException.UnboundName(name); 53throw ExprException.UnboundName(name); 57throw ExprException.UnboundName(name); 80throw ExprException.EvalNoContext(); 85throw ExprException.UnboundName(name); 92throw ExprException.UnboundName(name); 100throw ExprException.ComputeNotAggregate(this.ToString()); 184throw ExprException.InvalidName(new string(text, saveStart, savePos - saveStart));
fx\src\data\System\Data\Filter\UnaryNode.cs (4)
60throw ExprException.TypeMismatch(this.ToString()); 117throw ExprException.TypeMismatch(this.ToString()); 127throw ExprException.UnsupportedOperator(op); // or should the result of not SQLNull be SqlNull ? 136throw ExprException.UnsupportedOperator(op);
fx\src\data\System\Data\Select.cs (1)
526throw ExprException.FilterConvertion(this.rowFilter.Expression);