fx\src\data\System\Data\Common\SQLConvert.cs (16)
32throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlByte));
53throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt16));
81throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt32));
114throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt64));
162throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDouble));
204throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDecimal));
248throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlSingle));
288throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlMoney));
307throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDateTime));
325throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBoolean));
343throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlGuid));
361throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBinary));
379throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlString));
394throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlChars));
409throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBytes));
491throw ExceptionBuilder.ConvertFailed(valueType, type);
fx\src\data\System\Data\DataColumn.cs (52)
142throw ExceptionBuilder.ArgumentNull("dataType");
147throw ExceptionBuilder.ColumnTypeNotSupported();
243throw ExceptionBuilder.AutoIncrementAndExpression();
247throw ExceptionBuilder.AutoIncrementAndDefaultValue();
251throw ExceptionBuilder.AutoIncrementCannotSetIfHasData(DataType.Name);
401throw ExceptionBuilder.ColumnNameRequired();
473throw ExceptionBuilder.InvalidPrefix(value);
536throw ExceptionBuilder.CantChangeDataType();
539throw ExceptionBuilder.NullDataType();
543throw ExceptionBuilder.ColumnTypeNotSupported();
546throw ExceptionBuilder.ColumnsTypeMismatch();
573throw ExceptionBuilder.DefaultValueDataType(ColumnName, DefaultValue.GetType(), value, ex);
576throw ExceptionBuilder.DefaultValueDataType(ColumnName, DefaultValue.GetType(), value, ex);
582throw ExceptionBuilder.CannotSetSimpleContentType(ColumnName, value);
632throw ExceptionBuilder.CannotSetDateTimeModeForNonDateTimeColumns();
638throw ExceptionBuilder.CantChangeDateTimeMode(_dateTimeMode, value);
647throw ExceptionBuilder.CantChangeDateTimeMode(_dateTimeMode, value);
651throw ExceptionBuilder.InvalidDateTimeMode(value);
688throw ExceptionBuilder.DefaultValueAndAutoIncrement();
698throw ExceptionBuilder.DefaultValueColumnDataType(ColumnName, newDefaultValue.GetType(), DataType, ex);
752throw ExceptionBuilder.ExpressionAndUnique();
759throw ExceptionBuilder.ExpressionAndConstraint(this, table.Constraints[i]);
769ExceptionBuilder.TraceExceptionForCapture(e);
771throw ExceptionBuilder.ExpressionAndReadOnly();
778throw ExceptionBuilder.ExpressionCircular();
804ExceptionBuilder.TraceExceptionForCapture(e1);
825ExceptionBuilder.TraceExceptionWithoutRethrow(e2);
950throw ExceptionBuilder.CannotSetMaxLength2(this);
953throw ExceptionBuilder.HasToBeStringType(this);
961throw ExceptionBuilder.CannotSetMaxLength(this, value);
996throw ExceptionBuilder.CannotChangeNamespace(this.ColumnName);
1030throw ExceptionBuilder.ColumnNotInAnyTable();
1083throw ExceptionBuilder.ReadOnlyAndExpression();
1163ExceptionBuilder.TraceExceptionForCapture(e);
1164throw ExceptionBuilder.SetFailed(value, this, DataType, e);
1195ExceptionBuilder.TraceExceptionForCapture(e);
1196throw ExceptionBuilder.SetFailed(value, this, DataType, e);
1231throw ExceptionBuilder.UniqueAndExpression();
1322throw ExceptionBuilder.CannotSetSimpleContent(ColumnName, this.dataType);
1325throw ExceptionBuilder.CannotAddColumn3();
1327throw ExceptionBuilder.CannotAddColumn4(this.ColumnName);
1388throw ExceptionBuilder.LongerThanMaxLength(this);
1399throw ExceptionBuilder.NullKeyValues(ColumnName);
1408throw ExceptionBuilder.NullKeyValues(ColumnName);
1413throw ExceptionBuilder.NullKeyValues(ColumnName);
1424throw ExceptionBuilder.NullValues(ColumnName);
1433throw ExceptionBuilder.NonUniqueValues(ColumnName);
1638errorText = ExceptionBuilder.MaxLengthViolationText(this.ColumnName);
1648errorText = ExceptionBuilder.MaxLengthViolationText(this.ColumnName);
1664string errorText = ExceptionBuilder.NotAllowDBNullViolationText(this.ColumnName);
1861throw ExceptionBuilder.AutoIncrementSeed();
1929throw ExceptionBuilder.AutoIncrementSeed();
fx\src\data\System\Data\DataRow.cs (42)
219throw ExceptionBuilder.NestedCircular(_table.TableName);
276throw ExceptionBuilder.EditInRowChanging();
279throw ExceptionBuilder.ReadOnly(column.ColumnName);
294throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName, _table.TableName);
298throw ExceptionBuilder.ReadOnly(column.ColumnName);
304throw ExceptionBuilder.CannotSetToNull(column);
400throw ExceptionBuilder.ArgumentNull("ItemArray");
403throw ExceptionBuilder.ValueArrayLength();
418throw ExceptionBuilder.ReadOnly(column.ColumnName);
432throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName, _table.TableName);
436throw ExceptionBuilder.ReadOnly(column.ColumnName);
446throw ExceptionBuilder.CannotSetToNull(column);
527throw ExceptionBuilder.BeginEditInRowChanging();
544throw ExceptionBuilder.DeletedRowInaccessible();
566throw ExceptionBuilder.CancelEditInRowChanging();
576throw ExceptionBuilder.ArgumentNull("column");
580throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName, _table.TableName);
589throw ExceptionBuilder.RowNotInTheTable();
598throw ExceptionBuilder.DeleteInRowDeleting();
615throw ExceptionBuilder.EndEditInRowChanging();
640throw ExceptionBuilder.ColumnOutOfRange(columnIndex);
767throw ExceptionBuilder.RowNotInTheDataSet();
769throw ExceptionBuilder.RelationForeignTable(relation.ParentTable.TableName, _table.TableName);
778throw ExceptionBuilder.ColumnNotInTheTable(columnName, _table.TableName);
808throw ExceptionBuilder.RelationForeignRow();
811throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName, _table.TableName);
871throw ExceptionBuilder.RowNotInTheDataSet();
874throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName, _table.TableName);
900throw ExceptionBuilder.NoCurrentData();
912throw ExceptionBuilder.RowRemovedFromTheTable();
914throw ExceptionBuilder.DeletedRowInaccessible();
919throw ExceptionBuilder.NoOriginalData();
925throw ExceptionBuilder.NoProposedData();
940throw ExceptionBuilder.InvalidRowVersion();
1006throw ExceptionBuilder.InvalidRowVersion();
1100throw ExceptionBuilder.UDTImplementsIChangeTrackingButnotIRevertible(dc.DataType.AssemblyQualifiedName);
1211throw ExceptionBuilder.ParentRowNotInTheDataSet();
1214throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName);
1217throw ExceptionBuilder.SetParentRowTableMismatch(relation.ParentKey.Table.TableName, parentRow._table.TableName);
1238throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName);
1250throw ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged();
1263throw ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged();
fx\src\data\System\Data\XDRSchema.cs (15)
145throw ExceptionBuilder.InvalidAttributeValue("content", value);
268throw ExceptionBuilder.UndefinedDatatype(name);
281throw ExceptionBuilder.InvalidAttributeValue("type", dt);
290throw ExceptionBuilder.MissingAttribute("type", Keywords.DT_VALUES);
301throw ExceptionBuilder.MissingAttribute("Element", Keywords.NAME);
307throw ExceptionBuilder.MissingAttribute("Element", Keywords.TYPE);
343throw ExceptionBuilder.DuplicateDeclaration(strName);
347throw ExceptionBuilder.DuplicateDeclaration(strName);
365throw ExceptionBuilder.UndefinedDatatype(strType);
448throw ExceptionBuilder.CannotConvert(strDefault, type.FullName);
470throw ExceptionBuilder.AttributeValues("minOccurs", "0", "1");
489throw ExceptionBuilder.AttributeValues("maxOccurs", "1", Keywords.STAR);
492throw ExceptionBuilder.AttributeValues("maxOccurs", "1", Keywords.STAR);
577throw ExceptionBuilder.ElementTypeNotFound(list[i]);
627throw ExceptionBuilder.DuplicateDeclaration(typeName);
fx\src\data\System\Data\XMLSchema.cs (43)
66throw ExceptionBuilder.CannotConvert(value,type.FullName);
93throw ExceptionBuilder.InvalidAttributeValue(attrName, value);
211throw ExceptionBuilder.InvalidDuplicateNamedSimpleTypeDelaration(tmpDataSimpleType.SimpleTypeQualifiedName, errorStr);
274throw ExceptionBuilder.CannotConvert(value,type.FullName);
391throw ExceptionBuilder.RelationParentNameMissing(strName);
396throw ExceptionBuilder.RelationChildNameMissing(strName);
401throw ExceptionBuilder.RelationTableKeyMissing(strName);
406throw ExceptionBuilder.RelationChildKeyMissing(strName);
412throw ExceptionBuilder.MismatchKeyLength();
423throw ExceptionBuilder.ElementTypeNotFound(parentName);
428throw ExceptionBuilder.ElementTypeNotFound(childName);
433throw ExceptionBuilder.ElementTypeNotFound(parentNames[i]);
436throw ExceptionBuilder.ElementTypeNotFound(childNames[i]);
640throw ExceptionBuilder.IsDataSetAttributeMissingInSchema();
643throw ExceptionBuilder.TooManyIsDataSetAtributeInSchema();
879throw ExceptionBuilder.CircularComplexType(ct.Name);
1003throw ExceptionBuilder.InvalidField(field);
1008throw ExceptionBuilder.InvalidField(field);
1038throw ExceptionBuilder.InvalidAttributeValue(attrName, value);
1099throw ExceptionBuilder.MissingRefer(name);
1104throw ExceptionBuilder.InvalidKey(name);
1183throw ExceptionBuilder.MissingAttribute(Keywords.NAME);
1186throw ExceptionBuilder.DuplicateConstraintRead(name);
1243throw ExceptionBuilder.DuplicateDeclaration(typeName);
1356throw ExceptionBuilder.DuplicateDeclaration(typeName);
1546throw ExceptionBuilder.UndefinedDatatype(xsdTypeName);
1610throw ExceptionBuilder.UndefinedDatatype(name);
1621throw ExceptionBuilder.UndefinedDatatype(dt);
1803throw ExceptionBuilder.CannotConvert(defValue, type.FullName);
1894throw ExceptionBuilder.CannotConvert(defValue, type.FullName);
1945throw ExceptionBuilder.DatatypeNotDefined();
1947throw ExceptionBuilder.UndefinedDatatype(typeNode.Id);
1961throw ExceptionBuilder.ColumnTypeConflict(column.ColumnName);
2021throw ExceptionBuilder.CannotConvert(defValue, type.FullName);
2036throw ExceptionBuilder.CannotConvert(strDefault, type.FullName);
2098throw ExceptionBuilder.DatatypeNotDefined();
2106throw ExceptionBuilder.DatatypeNotDefined();
2108throw ExceptionBuilder.UndefinedDatatype(typeNode.Id);
2121throw ExceptionBuilder.ColumnTypeConflict(column.ColumnName);
2209throw ExceptionBuilder.CannotConvert(strDefault, type.FullName);
2396throw ExceptionBuilder.InvalidSelector(xpath);
2414throw ExceptionBuilder.InvalidSelector(xpath);
2449throw ExceptionBuilder.CannotInstantiateAbstract(node.Name);