691 references to ExceptionBuilder
System.Data.Common (691)
System\Data\Common\BigIntegerStorage.cs (3)
22throw ExceptionBuilder.AggregateException(kind, _dataType); 74else { throw ExceptionBuilder.ConvertFailed(value.GetType(), typeof(System.Numerics.BigInteger)); } 92else { throw ExceptionBuilder.ConvertFailed(typeof(System.Numerics.BigInteger), type); }
System\Data\Common\BooleanStorage.cs (1)
76throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\ByteStorage.cs (1)
148throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\CharStorage.cs (2)
75throw ExceptionBuilder.AggregateException(kind, _dataType); 159throw ExceptionBuilder.ProblematicChars(ch);
System\Data\Common\DataStorage.cs (2)
312case StorageType.Empty: throw ExceptionBuilder.InvalidStorageType(TypeCode.Empty); 313case StorageType.DBNull: throw ExceptionBuilder.InvalidStorageType((TypeCode)2); // TypeCode.DBNull);
System\Data\Common\DateTimeOffsetStorage.cs (1)
85throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\DateTimeStorage.cs (2)
85throw ExceptionBuilder.AggregateException(kind, _dataType); 201throw ExceptionBuilder.InvalidDateTimeMode(DateTimeMode);
System\Data\Common\DbDataSource.cs (24)
125ExceptionBuilder.TraceExceptionWithoutRethrow(e); 152ExceptionBuilder.TraceExceptionWithoutRethrow(e); 178ExceptionBuilder.TraceExceptionWithoutRethrow(e); 205ExceptionBuilder.TraceExceptionWithoutRethrow(e); 231ExceptionBuilder.TraceExceptionWithoutRethrow(e); 261ExceptionBuilder.TraceExceptionWithoutRethrow(e); 335=> throw ExceptionBuilder.NotSupportedOnDataSourceCommand(); 338=> Task.FromException(ExceptionBuilder.NotSupportedOnDataSourceCommand()); 344get => throw ExceptionBuilder.NotSupportedOnDataSourceCommand(); 345set => throw ExceptionBuilder.NotSupportedOnDataSourceCommand(); 350get => throw ExceptionBuilder.NotSupportedOnDataSourceCommand(); 351set => throw ExceptionBuilder.NotSupportedOnDataSourceCommand(); 384ExceptionBuilder.TraceExceptionWithoutRethrow(e); 411ExceptionBuilder.TraceExceptionWithoutRethrow(e); 437ExceptionBuilder.TraceExceptionWithoutRethrow(e); 464ExceptionBuilder.TraceExceptionWithoutRethrow(e); 490ExceptionBuilder.TraceExceptionWithoutRethrow(e); 520ExceptionBuilder.TraceExceptionWithoutRethrow(e); 564=> throw ExceptionBuilder.NotSupportedOnDataSourceCommand(); 567=> Task.FromException(ExceptionBuilder.NotSupportedOnDataSourceCommand()); 573get => throw ExceptionBuilder.NotSupportedOnDataSourceBatch(); 574set => throw ExceptionBuilder.NotSupportedOnDataSourceBatch(); 579get => throw ExceptionBuilder.NotSupportedOnDataSourceBatch(); 580set => throw ExceptionBuilder.NotSupportedOnDataSourceBatch();
System\Data\Common\DecimalStorage.cs (1)
153throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\DoubleStorage.cs (1)
148throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\Int16Storage.cs (1)
162throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\Int32Storage.cs (1)
161throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\Int64Storage.cs (1)
153throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\ObjectStorage.cs (6)
38throw ExceptionBuilder.AggregateException(kind, _dataType); 62ExceptionBuilder.TraceExceptionWithoutRethrow(e); 119ExceptionBuilder.TraceExceptionWithoutRethrow(e); 295throw ExceptionBuilder.StorageSetFailed(); 300throw ExceptionBuilder.StorageSetFailed(); 417throw ExceptionBuilder.CanNotDeserializeObjectType();
System\Data\Common\SByteStorage.cs (1)
148throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SingleStorage.cs (1)
149throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLConvert.cs (16)
26_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlByte)), 45_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt16)), 68_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt32)), 93_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlInt64)), 126_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDouble)), 156_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDecimal)), 187_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlSingle)), 216_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlMoney)), 235_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlDateTime)), 253_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBoolean)), 271_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlGuid)), 289_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBinary)), 307_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlString)), 323_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlChars)), 339_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlBytes)), 429throw ExceptionBuilder.ConvertFailed(valueType, type);
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
49throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
83throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
50throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
158throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
50throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
85throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
157throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
158throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
50throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
158throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
158throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
159throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
158throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
156throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
91throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\SqlUDTStorage.cs (5)
57throw ExceptionBuilder.INullableUDTwithoutStaticNull(type.AssemblyQualifiedName!); 67throw ExceptionBuilder.AggregateException(kind, _dataType); 93throw ExceptionBuilder.IComparableNotImplemented(_dataType.AssemblyQualifiedName!); 118throw ExceptionBuilder.StorageSetFailed(); 128throw ExceptionBuilder.StorageSetFailed();
System\Data\Common\StringStorage.cs (1)
81throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\TimeSpanStorage.cs (1)
144throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\UInt16Storage.cs (1)
161throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\UInt32Storage.cs (1)
159throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Common\UInt64Storage.cs (1)
153throw ExceptionBuilder.AggregateException(kind, _dataType);
System\Data\Constraint.cs (3)
39throw ExceptionBuilder.NoConstraintName(); 103throw ExceptionBuilder.ConstraintViolation(ConstraintName); 121throw ExceptionBuilder.BadObjectPropertyAccess(e.Message);
System\Data\ConstraintCollection.cs (20)
53throw ExceptionBuilder.ConstraintOutOfRange(index); 72throw ExceptionBuilder.CaseInsensitiveNameConflict(name!); 88throw ExceptionBuilder.ArgumentNull(nameof(constraint)); 94throw ExceptionBuilder.DuplicateConstraint(matchedConstraint.ConstraintName); 101throw ExceptionBuilder.CantAddConstraintToMultipleNestedTable(_table.TableName); 111throw ExceptionBuilder.AddPrimaryKeyConstraint(); 228throw ExceptionBuilder.ConstraintForeignTable(); 236throw ExceptionBuilder.UniqueConstraintViolation(); 244throw ExceptionBuilder.ConstraintParentValues(); 313throw ExceptionBuilder.ArgumentNull(nameof(constraint)); 374throw ExceptionBuilder.ArgumentNull(nameof(constraint)); 378throw ExceptionBuilder.ConstraintRemoveFailed(); 488throw ExceptionBuilder.ArgumentNull(nameof(array)); 490throw ExceptionBuilder.ArgumentOutOfRange(nameof(index)); 492throw ExceptionBuilder.InvalidOffsetLength(); 674throw ExceptionBuilder.DuplicateConstraintName(((Constraint)List[i]!).ConstraintName); 689throw ExceptionBuilder.ArgumentNull(nameof(constraint)); 714throw ExceptionBuilder.ConstraintOutOfRange(index); 725throw ExceptionBuilder.ConstraintNotInTheTable(name); 774throw ExceptionBuilder.AddPrimaryKeyConstraint();
System\Data\DataColumn.cs (52)
131throw ExceptionBuilder.ArgumentNull(nameof(dataType)); 137throw ExceptionBuilder.ColumnTypeNotSupported(); 233throw ExceptionBuilder.AutoIncrementAndExpression(); 238throw ExceptionBuilder.AutoIncrementAndDefaultValue(); 245throw ExceptionBuilder.AutoIncrementCannotSetIfHasData(DataType.Name); 369throw ExceptionBuilder.ColumnNameRequired(); 433throw ExceptionBuilder.InvalidPrefix(value); 487throw ExceptionBuilder.CantChangeDataType(); 491throw ExceptionBuilder.NullDataType(); 496throw ExceptionBuilder.ColumnTypeNotSupported(); 500throw ExceptionBuilder.ColumnsTypeMismatch(); 537throw ExceptionBuilder.DefaultValueDataType(ColumnName, DefaultValue.GetType(), value, ex); 541throw ExceptionBuilder.DefaultValueDataType(ColumnName, DefaultValue.GetType(), value, ex); 549throw ExceptionBuilder.CannotSetSimpleContentType(ColumnName, value); 608throw ExceptionBuilder.CannotSetDateTimeModeForNonDateTimeColumns(); 616throw ExceptionBuilder.CantChangeDateTimeMode(_dateTimeMode, value); 627throw ExceptionBuilder.CantChangeDateTimeMode(_dateTimeMode, value); 631throw ExceptionBuilder.InvalidDateTimeMode(value); 678throw ExceptionBuilder.DefaultValueAndAutoIncrement(); 691throw ExceptionBuilder.DefaultValueColumnDataType(ColumnName, newDefaultValue.GetType(), DataType, ex); 737throw ExceptionBuilder.ExpressionAndUnique(); 747throw ExceptionBuilder.ExpressionAndConstraint(this, _table.Constraints[i]); 759ExceptionBuilder.TraceExceptionForCapture(e); 761throw ExceptionBuilder.ExpressionAndReadOnly(); 770throw ExceptionBuilder.ExpressionCircular(); 798ExceptionBuilder.TraceExceptionForCapture(e1); 820ExceptionBuilder.TraceExceptionWithoutRethrow(e2); 927throw ExceptionBuilder.CannotSetMaxLength2(this); 931throw ExceptionBuilder.HasToBeStringType(this); 941throw ExceptionBuilder.CannotSetMaxLength(this, value); 982throw ExceptionBuilder.CannotChangeNamespace(ColumnName); 1004throw ExceptionBuilder.ColumnNotInAnyTable(); 1062throw ExceptionBuilder.ReadOnlyAndExpression(); 1146ExceptionBuilder.TraceExceptionForCapture(e); 1147throw ExceptionBuilder.SetFailed(value, this, DataType, e); 1188ExceptionBuilder.TraceExceptionForCapture(e); 1189throw ExceptionBuilder.SetFailed(value!, this, DataType, e); 1222throw ExceptionBuilder.UniqueAndExpression(); 1316throw ExceptionBuilder.CannotSetSimpleContent(ColumnName, _dataType); 1321throw ExceptionBuilder.CannotAddColumn3(); 1325throw ExceptionBuilder.CannotAddColumn4(ColumnName); 1400throw ExceptionBuilder.LongerThanMaxLength(this); 1417throw ExceptionBuilder.NullKeyValues(ColumnName); 1434throw ExceptionBuilder.NullKeyValues(ColumnName); 1441throw ExceptionBuilder.NullKeyValues(ColumnName); 1455throw ExceptionBuilder.NullValues(ColumnName); 1466throw ExceptionBuilder.NonUniqueValues(ColumnName); 1693errorText ??= ExceptionBuilder.MaxLengthViolationText(ColumnName); 1703errorText ??= ExceptionBuilder.MaxLengthViolationText(ColumnName); 1720string errorText = ExceptionBuilder.NotAllowDBNullViolationText(ColumnName); 1939throw ExceptionBuilder.AutoIncrementSeed(); 2020throw ExceptionBuilder.AutoIncrementSeed();
System\Data\DataColumnCollection.cs (26)
70throw ExceptionBuilder.ColumnOutOfRange(index); 84throw ExceptionBuilder.ArgumentNull(nameof(name)); 98throw ExceptionBuilder.CaseInsensitiveNameConflict(name); 143throw ExceptionBuilder.CannotAddColumn3(); 148throw ExceptionBuilder.CannotAddColumn4(column.ColumnName); 323throw ExceptionBuilder.ArgumentNull(nameof(column)); 327throw ExceptionBuilder.CannotAddColumn1(column.ColumnName); 331throw ExceptionBuilder.CannotAddColumn2(column.ColumnName); 347throw ExceptionBuilder.ExpressionCircular(); 457throw ExceptionBuilder.ArgumentNull(nameof(column)); 469throw ExceptionBuilder.CannotRemoveColumn(); 485throw ExceptionBuilder.CannotRemovePrimaryKey(); 496throw ExceptionBuilder.CannotRemoveChildKey(_table.ParentRelations[i].RelationName); 507throw ExceptionBuilder.CannotRemoveChildKey(_table.ChildRelations[i].RelationName); 517throw ExceptionBuilder.CannotRemoveConstraint(_table.Constraints[i].ConstraintName, _table.Constraints[i].Table!.TableName); 529throw ExceptionBuilder.CannotRemoveConstraint(constraint.ConstraintName, constraint.Table!.TableName); 555throw ExceptionBuilder.CannotRemoveExpression(col.ColumnName, col.Expression); 656throw ExceptionBuilder.ArgumentNull(nameof(array)); 660throw ExceptionBuilder.ArgumentOutOfRange(nameof(index)); 664throw ExceptionBuilder.InvalidOffsetLength(); 772throw ExceptionBuilder.InvalidOrdinal("ordinal", newPosition); 839throw ExceptionBuilder.CannotAddDuplicate(name); 843throw ExceptionBuilder.CannotAddDuplicate3(name); 846throw ExceptionBuilder.CannotAddDuplicate2(name); 890throw ExceptionBuilder.ColumnOutOfRange(index); 903throw ExceptionBuilder.ColumnNotInTheTable(name, _table.TableName);
System\Data\DataKey.cs (8)
18throw ExceptionBuilder.ArgumentNull(nameof(columns)); 23throw ExceptionBuilder.KeyNoColumns(); 28throw ExceptionBuilder.KeyTooManyColumns(maxColumns); 35throw ExceptionBuilder.ArgumentNull("column"); 45throw ExceptionBuilder.KeyDuplicateColumns(columns[i].ColumnName); 76throw ExceptionBuilder.ColumnNotInAnyTable(); 83throw ExceptionBuilder.ColumnNotInAnyTable(); 87throw ExceptionBuilder.KeyTableMismatch();
System\Data\DataRelation.cs (19)
271throw ExceptionBuilder.MultipleParents(); 371throw ExceptionBuilder.NoRelationName(); 405throw ExceptionBuilder.InValidNestedRelation(ChildTable.TableName); 424throw ExceptionBuilder.SelfnestedDatasetConflictingName(ChildTable.TableName); 439throw ExceptionBuilder.LoopInNestedRelations(ChildTable.TableName); 493throw ExceptionBuilder.RelationNestedReadOnly(); 519throw ExceptionBuilder.DatasetConflictingName(DataSet.DataSetName); 559throw ExceptionBuilder.InvalidParentNamespaceinNestedRelation(ChildTable.TableName); 567throw ExceptionBuilder.TableCantBeNestedInTwoTables(ChildTable.TableName); 643throw ExceptionBuilder.RelationDataSetMismatch(); 648throw ExceptionBuilder.KeyColumnsIdentical(); 659throw ExceptionBuilder.ColumnsTypeMismatch(); 677throw ExceptionBuilder.BadObjectPropertyAccess(e.Message); 691throw ExceptionBuilder.KeyLengthMismatch(); 698throw ExceptionBuilder.ParentOrChildColumnsDoNotHaveDataSet(); 783throw ExceptionBuilder.TableCantBeNestedInTwoTables(ChildTable.TableName); 788throw ExceptionBuilder.TableCantBeNestedInTwoTables(ChildTable.TableName); 797throw ExceptionBuilder.TableCantBeNestedInTwoTables(ChildTable.TableName); 805throw ExceptionBuilder.TableCantBeNestedInTwoTables(ChildTable.TableName);
System\Data\DataRelationCollection.cs (28)
188throw ExceptionBuilder.ArgumentNull(nameof(relation)); 195throw ExceptionBuilder.RelationAlreadyInTheDataSet(); 199throw ExceptionBuilder.RelationAlreadyInOtherDataSet(); 204throw ExceptionBuilder.CaseLocaleMismatch(); 286throw ExceptionBuilder.ArgumentNull(nameof(array)); 291throw ExceptionBuilder.ArgumentOutOfRange(nameof(index)); 297throw ExceptionBuilder.InvalidOffsetLength(); 407throw ExceptionBuilder.DuplicateRelation(this[i].RelationName); 459throw ExceptionBuilder.RelationOutOfRange(index); 474throw ExceptionBuilder.RelationNotInTheDataSet(name); 489throw ExceptionBuilder.ArgumentNull(nameof(relation)); 495throw ExceptionBuilder.RelationNotInTheDataSet(relation.RelationName); 532throw ExceptionBuilder.RelationTableNull(); 545throw ExceptionBuilder.RelationTableWasRemoved(); 563throw ExceptionBuilder.RelationOutOfRange(index); 574throw ExceptionBuilder.CaseInsensitiveNameConflict(name!); 606throw ExceptionBuilder.ChildTableMismatch(); 613throw ExceptionBuilder.ParentTableMismatch(); 662throw ExceptionBuilder.RelationDoesNotExist(); 671throw ExceptionBuilder.ChildTableMismatch(); 678throw ExceptionBuilder.ParentTableMismatch(); 697throw ExceptionBuilder.RelationDataSetNull(); 744throw ExceptionBuilder.RelationOutOfRange(index); 755throw ExceptionBuilder.CaseInsensitiveNameConflict(name!); 766throw ExceptionBuilder.ForeignRelation(); 791throw ExceptionBuilder.RelationAlreadyExists(); 820ExceptionBuilder.TraceExceptionWithoutRethrow(e); 862throw ExceptionBuilder.RelationDoesNotExist();
System\Data\DataRow.cs (42)
218throw ExceptionBuilder.NestedCircular(_table.TableName); 290throw ExceptionBuilder.EditInRowChanging(); 294throw ExceptionBuilder.ReadOnly(column.ColumnName); 311throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName, _table.TableName); 316throw ExceptionBuilder.ReadOnly(column.ColumnName); 324throw ExceptionBuilder.CannotSetToNull(column); 438throw ExceptionBuilder.ArgumentNull(nameof(ItemArray)); 442throw ExceptionBuilder.ValueArrayLength(); 461throw ExceptionBuilder.ReadOnly(column.ColumnName); 477throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName, _table.TableName); 482throw ExceptionBuilder.ReadOnly(column.ColumnName); 495throw ExceptionBuilder.CannotSetToNull(column); 581throw ExceptionBuilder.BeginEditInRowChanging(); 602throw ExceptionBuilder.DeletedRowInaccessible(); 622throw ExceptionBuilder.CancelEditInRowChanging(); 634throw ExceptionBuilder.ArgumentNull(nameof(column)); 639throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName, _table.TableName); 650throw ExceptionBuilder.RowNotInTheTable(); 661throw ExceptionBuilder.DeleteInRowDeleting(); 680throw ExceptionBuilder.EndEditInRowChanging(); 711throw ExceptionBuilder.ColumnOutOfRange(columnIndex); 826throw ExceptionBuilder.RowNotInTheDataSet(); 830throw ExceptionBuilder.RelationForeignTable(relation.ParentTable.TableName, _table.TableName); 842throw ExceptionBuilder.ColumnNotInTheTable(columnName, _table.TableName); 870throw ExceptionBuilder.RelationForeignRow(); 875throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName, _table.TableName); 932throw ExceptionBuilder.RowNotInTheDataSet(); 937throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName, _table.TableName); 968throw ExceptionBuilder.NoCurrentData(); 986ExceptionBuilder.RowRemovedFromTheTable() : 987ExceptionBuilder.DeletedRowInaccessible(); 994throw ExceptionBuilder.NoOriginalData(); 1003throw ExceptionBuilder.NoProposedData(); 1016_ => throw ExceptionBuilder.InvalidRowVersion(), 1101_ => throw ExceptionBuilder.InvalidRowVersion(), 1199throw ExceptionBuilder.UDTImplementsIChangeTrackingButnotIRevertible(dc.DataType.AssemblyQualifiedName!); 1325throw ExceptionBuilder.ParentRowNotInTheDataSet(); 1330throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName); 1335throw ExceptionBuilder.SetParentRowTableMismatch(relation.ParentKey.Table.TableName, parentRow._table.TableName); 1356throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName); 1372throw ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged(); 1389throw ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged();
System\Data\DataRowCollection.cs (6)
16throw ExceptionBuilder.InternalRBTreeError(RBTreeError.CompareNodeInDataRowTree); 20throw ExceptionBuilder.InternalRBTreeError(RBTreeError.CompareSatelliteTreeNodeInDataRowTree); 52throw ExceptionBuilder.RowInsertOutOfRange(pos); 80throw ExceptionBuilder.RowInsertTwice(pos, _table.TableName); 135throw ExceptionBuilder.InternalRBTreeError(RBTreeError.AttachedNodeWithZerorbTreeNodeId); 181throw ExceptionBuilder.RowOutOfRange();
System\Data\DataRowView.cs (6)
60throw ExceptionBuilder.CanNotEdit(); 86throw ExceptionBuilder.PropertyNotFound(property, _dataView.Table.TableName); 93throw ExceptionBuilder.SetFailed(property); 97throw ExceptionBuilder.CanNotEdit(); 133throw ExceptionBuilder.SetFailed(column.ColumnName); 150throw ExceptionBuilder.CreateChildView();
System\Data\DataSet.cs (32)
126throw ExceptionBuilder.SerializationFormatBinaryNotSupported(); 129throw ExceptionBuilder.InvalidRemotingFormat(value); 151throw ExceptionBuilder.CannotChangeSchemaSerializationMode(); 218throw ExceptionBuilder.InvalidSchemaSerializationMode(typeof(SchemaSerializationMode), attribValue); 288throw ExceptionBuilder.SerializationFormatBinaryNotSupported(); 621throw ExceptionBuilder.EnforceConstraint(); 643throw ExceptionBuilder.CannotChangeCaseLocale(); 763throw ExceptionBuilder.SetDataSetNameToEmpty(); 769throw ExceptionBuilder.SetDataSetNameConflicting(value); 803throw ExceptionBuilder.DuplicateTableName2(dt.TableName, value); 830throw ExceptionBuilder.InvalidPrefix(value); 973throw ExceptionBuilder.CannotChangeCaseLocale(null); 1334throw ExceptionBuilder.InvalidRowState(rowStates); 1550throw ExceptionBuilder.ArgumentOutOfRange("rowState"); 1715throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 1759throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 2145throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 2204throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 2537throw ExceptionBuilder.RowInsertMissing(t.TableName); 2692throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 2767throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 3050throw ExceptionBuilder.ArgumentNull(nameof(dataSet)); 3101throw ExceptionBuilder.ArgumentNull(nameof(table)); 3144throw ExceptionBuilder.ArgumentNull(nameof(rows)); 3184throw ExceptionBuilder.MergeFailed(mfevent.Conflict); 3192throw ExceptionBuilder.MergeFailed(conflict); 3460throw ExceptionBuilder.InvalidAttributeValue(Keywords.USEDATASETSCHEMAONLY, useDataSetSchemaOnly!); 3476throw ExceptionBuilder.InvalidAttributeValue(Keywords.UDTCOLUMNVALUEWRAPPED, _udtIsWrappedString!); 3620throw ExceptionBuilder.TableNotInTheDataSet(dt.TableName); 3670throw ExceptionBuilder.CannotCreateDataReaderOnEmptyDataSet(); 3688throw ExceptionBuilder.DataTableReaderArgumentIsEmpty(); 3695throw ExceptionBuilder.ArgumentContainsNullValue();
System\Data\DataTable.cs (55)
219throw ExceptionBuilder.SerializationFormatBinaryNotSupported(); 377throw ExceptionBuilder.CanNotRemoteDataTable(); 724throw ExceptionBuilder.InvalidRowState(rowState); 892throw ExceptionBuilder.InvalidRowBitPattern(); 972throw ExceptionBuilder.CannotChangeCaseLocale(); 1014ExceptionBuilder.TraceExceptionWithoutRethrow(e); 1155throw ExceptionBuilder.SerializationFormatBinaryNotSupported(); 1158throw ExceptionBuilder.InvalidRemotingFormat(value); 1164throw ExceptionBuilder.CanNotSetRemotingFormat(); 1350throw ExceptionBuilder.EnforceConstraint(); 1463throw ExceptionBuilder.CannotChangeCaseLocale(null); 1541throw ExceptionBuilder.TableCannotAddToSimpleContent(); 1681throw ExceptionBuilder.TableForeignPrimaryKey(); 1787throw ExceptionBuilder.NoTableName(); 1791throw ExceptionBuilder.DatasetConflictingName(_dataSet.DataSetName); 1805throw ExceptionBuilder.CannotAddDuplicate2(value); 1919throw ExceptionBuilder.DuplicateTableName2(TableName, realNamespace); 1945throw ExceptionBuilder.DuplicateTableName2(TableName, realNamespace); 1983throw ExceptionBuilder.InValidNestedRelation(TableName); 2074throw ExceptionBuilder.InvalidPrefix(value); 2092throw ExceptionBuilder.MultipleTextOnlyColumns(); 2754throw ExceptionBuilder.ArgumentNull(nameof(row)); 2758throw ExceptionBuilder.RowAlreadyInOtherCollection(); 2762throw ExceptionBuilder.RowAlreadyInTheCollection(); 3023throw ExceptionBuilder.RowAlreadyDeleted(); 3032if (_primaryKey == null) throw ExceptionBuilder.TableMissingPrimaryKey(); 3292throw ExceptionBuilder.RowAlreadyInOtherCollection(); 3296throw ExceptionBuilder.RowAlreadyInTheCollection(); 3300throw ExceptionBuilder.RowEmpty(); 3392throw ExceptionBuilder.ValueArrayLength(); 3739throw ExceptionBuilder.InvalidSortString(split[i]); 3747throw ExceptionBuilder.ColumnOutOfRange(current); 3993throw ExceptionBuilder.RowAlreadyRemoved(); 4133ExceptionBuilder.TraceExceptionWithoutRethrow(f); // ignore the exception 4480ExceptionBuilder.TraceExceptionWithoutRethrow(e); // ignore the exception 4945throw ExceptionBuilder.ArgumentNull(nameof(table)); 5089throw ExceptionBuilder.ArgumentOutOfRange(nameof(LoadOption)); 5104throw ExceptionBuilder.ArgumentOutOfRange(nameof(LoadOption)); 5180throw ExceptionBuilder.ArgumentOutOfRange(nameof(LoadOption)); 5272throw ExceptionBuilder.ArgumentOutOfRange(nameof(LoadOption)); 5399throw ExceptionBuilder.CanNotSerializeDataTableWithEmptyName(); 5572throw ExceptionBuilder.CanNotSerializeDataTableWithEmptyName(); 5577throw ExceptionBuilder.CanNotSerializeDataTableHierarchy(); 5802throw ExceptionBuilder.DataTableInferenceNotSupported(); 5841throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 5910throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 5950throw ExceptionBuilder.DataTableInferenceNotSupported(); 6055throw ExceptionBuilder.DataTableInferenceNotSupported(); 6111throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 6182throw ExceptionBuilder.DataTableInferenceNotSupported(); 6205throw ExceptionBuilder.DataSetUnsupportedSchema(Keywords.XSDNS); 6227throw ExceptionBuilder.DataTableInferenceNotSupported(); 6254throw ExceptionBuilder.DataTableInferenceNotSupported(); 6378throw ExceptionBuilder.RowInsertMissing(newDt.TableName); 6536throw ExceptionBuilder.TableNotFound(qTableName);
System\Data\DataTableCollection.cs (27)
63throw ExceptionBuilder.TableOutOfRange(index); 78throw ExceptionBuilder.CaseInsensitiveNameConflict(name); 82throw ExceptionBuilder.NamespaceNameConflict(name); 94throw ExceptionBuilder.ArgumentNull(nameof(tableNamespace)); 100throw ExceptionBuilder.CaseInsensitiveNameConflict(name); 281throw ExceptionBuilder.ArgumentNull(nameof(table)); 285throw ExceptionBuilder.TableAlreadyInTheDataSet(); 289throw ExceptionBuilder.TableAlreadyInOtherDataSet(); 300throw ExceptionBuilder.DatasetConflictingName(_dataSet.DataSetName); 391throw ExceptionBuilder.ArgumentNull(nameof(table)); 399throw ExceptionBuilder.TableNotInTheDataSet(table.TableName); 411throw ExceptionBuilder.TableInRelation(); 427throw ExceptionBuilder.TableInConstraint(table, constraint); 445throw ExceptionBuilder.TableInConstraint(table, constraint); 496throw ExceptionBuilder.ArgumentNull(nameof(name)); 501throw ExceptionBuilder.ArgumentNull(nameof(tableNamespace)); 553throw ExceptionBuilder.ArgumentNull(nameof(array)); 557throw ExceptionBuilder.ArgumentOutOfRange(nameof(index)); 561throw ExceptionBuilder.InvalidOffsetLength(); 605throw ExceptionBuilder.ArgumentNull(nameof(tableName)); 609throw ExceptionBuilder.ArgumentNull(nameof(tableNamespace)); 746throw ExceptionBuilder.DuplicateTableName(((DataTable)_list[i]!).TableName); 784throw ExceptionBuilder.TableOutOfRange(index); 805throw ExceptionBuilder.TableNotInTheDataSet(name); 819throw ExceptionBuilder.ArgumentNull(nameof(name)); 823throw ExceptionBuilder.ArgumentNull(nameof(tableNamespace)); 828throw ExceptionBuilder.TableNotInTheDataSet(name);
System\Data\DataTableReader.cs (55)
34throw ExceptionBuilder.ArgumentNull(nameof(DataTable)); 45throw ExceptionBuilder.ArgumentNull(nameof(DataTable)); 49throw ExceptionBuilder.DataTableReaderArgumentIsEmpty(); 57throw ExceptionBuilder.ArgumentNull(nameof(DataTable)); 252throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable.TableName); 261ExceptionBuilder.TraceExceptionWithoutRethrow(e); 262throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 276throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable.TableName); 325ExceptionBuilder.TraceExceptionWithoutRethrow(e); 326throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 341ExceptionBuilder.TraceExceptionWithoutRethrow(e); 342throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 358ExceptionBuilder.TraceExceptionWithoutRethrow(e); 359throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 404ExceptionBuilder.TraceExceptionWithoutRethrow(e); 405throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 421ExceptionBuilder.TraceExceptionWithoutRethrow(e); 422throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 474ExceptionBuilder.TraceExceptionWithoutRethrow(e); 475throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 490ExceptionBuilder.TraceExceptionWithoutRethrow(e); 491throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 505ExceptionBuilder.TraceExceptionWithoutRethrow(e); 506throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 521ExceptionBuilder.TraceExceptionWithoutRethrow(e); 522throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 537ExceptionBuilder.TraceExceptionWithoutRethrow(e); 538throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 553ExceptionBuilder.TraceExceptionWithoutRethrow(e); 554throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 569ExceptionBuilder.TraceExceptionWithoutRethrow(e); 570throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 585ExceptionBuilder.TraceExceptionWithoutRethrow(e); 586throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 601ExceptionBuilder.TraceExceptionWithoutRethrow(e); 602throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 617ExceptionBuilder.TraceExceptionWithoutRethrow(e); 618throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 634throw ExceptionBuilder.ColumnNotInTheTable(name, _currentDataTable.TableName); 649ExceptionBuilder.TraceExceptionWithoutRethrow(e); 650throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 665ExceptionBuilder.TraceExceptionWithoutRethrow(e); 666throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 677throw ExceptionBuilder.ArgumentNull(nameof(values)); 694ExceptionBuilder.TraceExceptionWithoutRethrow(e); 695throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal)); 709throw ExceptionBuilder.ArgumentNull(nameof(DataTable)); 869throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable.TableName); 874throw ExceptionBuilder.DataTableReaderSchemaIsInvalid(_currentDataTable.TableName); // may be we can use better error message! 883throw ExceptionBuilder.EmptyDataTableReader(_currentDataTable.TableName); 891throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable!.TableName); 897throw ExceptionBuilder.InvalidCurrentRowInDataTableReader(); 903throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable.TableName); 911throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable.TableName); 917throw ExceptionBuilder.InvalidDataTableReader(_currentDataTable.TableName);
System\Data\DataTableReaderListener.cs (2)
18throw ExceptionBuilder.ArgumentNull(nameof(DataTableReader)); 38throw ExceptionBuilder.ArgumentNull(nameof(DataTable));
System\Data\DataView.cs (31)
138throw ExceptionBuilder.CanNotUse(); 148throw ExceptionBuilder.RecordStateRange(); 153throw ExceptionBuilder.SetRowStateFilter(); 171throw ExceptionBuilder.CanNotUse(); 181throw ExceptionBuilder.RecordStateRange(); 186throw ExceptionBuilder.SetRowStateFilter(); 392throw ExceptionBuilder.RecordStateRange(); 397throw ExceptionBuilder.SetRowStateFilter(); 484throw ExceptionBuilder.SetTable(); 488throw ExceptionBuilder.CanNotSetTable(); 492throw ExceptionBuilder.CanNotBindTable(); 518set { throw ExceptionBuilder.SetIListObject(); } 542throw ExceptionBuilder.AddNewNotAllowNull(); 609if (!IsOpen) throw ExceptionBuilder.NotOpen(); 616throw ExceptionBuilder.CanNotUse(); 695throw ExceptionBuilder.CanNotDelete(); 846throw ExceptionBuilder.AddExternalObject(); 851throw ExceptionBuilder.CanNotClear(); 890throw ExceptionBuilder.InsertExternalObject(); 903throw ExceptionBuilder.RemoveExternalObject(); 1058throw ExceptionBuilder.ArgumentNull(nameof(sorts)); 1067throw ExceptionBuilder.ArgumentContainsNull(nameof(sorts)); 1073throw ExceptionBuilder.ArgumentNull(nameof(PropertyDescriptor)); 1079throw ExceptionBuilder.ColumnToSortIsOutOfRange(property.Name); 1215throw ExceptionBuilder.RowOutOfRange(recordIndex); 1229throw ExceptionBuilder.GetElementIndex(index); 1422ExceptionBuilder.TraceExceptionWithoutRethrow(f); // ignore the exception 1481throw ExceptionBuilder.CanNotUse(); 1504ExceptionBuilder.TraceExceptionWithoutRethrow(e); // ignore the exception 1683throw ExceptionBuilder.ArgumentNull(nameof(columnNames)); 1711throw ExceptionBuilder.ColumnNotInTheUnderlyingTable(columnNames[i], Table.TableName);
System\Data\DataViewManager.cs (14)
52throw ExceptionBuilder.SetFailed("DataSet to null"); 57throw ExceptionBuilder.SetDataSetFailed(); 64throw ExceptionBuilder.CanNotSetDataSet(); 114throw ExceptionBuilder.SetFailed(nameof(DataViewSettingCollectionString)); 166set { throw ExceptionBuilder.CannotModifyCollection(); } 171throw ExceptionBuilder.CannotModifyCollection(); 176throw ExceptionBuilder.CannotModifyCollection(); 185throw ExceptionBuilder.CannotModifyCollection(); 190throw ExceptionBuilder.CannotModifyCollection(); 195throw ExceptionBuilder.CannotModifyCollection(); 264throw ExceptionBuilder.CanNotUseDataViewManager(); 287throw ExceptionBuilder.CanNotUseDataViewManager(); 309throw ExceptionBuilder.CanNotUseDataViewManager(); 325ExceptionBuilder.TraceExceptionWithoutRethrow(f);
System\Data\DataViewSettingCollection.cs (3)
21throw ExceptionBuilder.ArgumentNull(nameof(dataViewManager)); 32throw ExceptionBuilder.ArgumentNull(nameof(table)); 46throw ExceptionBuilder.ArgumentNull(nameof(table));
System\Data\Filter\BinaryNode.cs (5)
260ExceptionBuilder.TraceExceptionWithoutRethrow(e); 264ExceptionBuilder.TraceExceptionWithoutRethrow(e); 268ExceptionBuilder.TraceExceptionWithoutRethrow(e); 272ExceptionBuilder.TraceExceptionWithoutRethrow(e); 276ExceptionBuilder.TraceExceptionWithoutRethrow(e);
System\Data\Filter\ConstNode.cs (20)
148ExceptionBuilder.TraceExceptionWithoutRethrow(e); 152ExceptionBuilder.TraceExceptionWithoutRethrow(e); 156ExceptionBuilder.TraceExceptionWithoutRethrow(e); 160ExceptionBuilder.TraceExceptionWithoutRethrow(e); 168ExceptionBuilder.TraceExceptionWithoutRethrow(e); 172ExceptionBuilder.TraceExceptionWithoutRethrow(e); 176ExceptionBuilder.TraceExceptionWithoutRethrow(e); 180ExceptionBuilder.TraceExceptionWithoutRethrow(e); 226ExceptionBuilder.TraceExceptionWithoutRethrow(e); 230ExceptionBuilder.TraceExceptionWithoutRethrow(e); 234ExceptionBuilder.TraceExceptionWithoutRethrow(e); 238ExceptionBuilder.TraceExceptionWithoutRethrow(e); 247ExceptionBuilder.TraceExceptionWithoutRethrow(e); 251ExceptionBuilder.TraceExceptionWithoutRethrow(e); 255ExceptionBuilder.TraceExceptionWithoutRethrow(e); 259ExceptionBuilder.TraceExceptionWithoutRethrow(e); 268ExceptionBuilder.TraceExceptionWithoutRethrow(e); 272ExceptionBuilder.TraceExceptionWithoutRethrow(e); 276ExceptionBuilder.TraceExceptionWithoutRethrow(e); 280ExceptionBuilder.TraceExceptionWithoutRethrow(e);
System\Data\Filter\DataExpression.cs (2)
149ExceptionBuilder.TraceExceptionForCapture(e); 272ExceptionBuilder.TraceExceptionForCapture(e);
System\Data\Filter\FilterException.cs (7)
67ExceptionBuilder.TraceExceptionAsReturnValue(e); 73ExceptionBuilder.TraceExceptionAsReturnValue(e); 79ExceptionBuilder.TraceExceptionAsReturnValue(e); 85ExceptionBuilder.TraceExceptionAsReturnValue(e); 91return ExceptionBuilder._Argument(SR.Expr_InvokeArgument); 118return ExceptionBuilder._ArgumentOutOfRange(arg, SR.Format(SR.Expr_ArgumentOutofRange, func)); 328return ExceptionBuilder._Argument(SR.Format(SR.Expr_UnsupportedType, type.FullName));
System\Data\ForeignKeyConstraint.cs (16)
149throw ExceptionBuilder.ConstraintAddFailed(constraints.Table); 153throw ExceptionBuilder.CaseLocaleMismatch(); 188string error = SR.Format(SR.DataConstraint_ForeignKeyViolation, ConstraintName, ExceptionBuilder.KeysToString(childValues)); 287throw ExceptionBuilder.FailedCascadeDelete(ConstraintName); 396throw ExceptionBuilder.FailedCascadeUpdate(ConstraintName); 429throw ExceptionBuilder.FailedCascadeUpdate(ConstraintName); 501throw ExceptionBuilder.FailedClearParentTable(table.TableName, ConstraintName, Table.TableName); 514throw ExceptionBuilder.RemoveParentRow(this); 617throw ExceptionBuilder.ForeignKeyViolation(ConstraintName, childKeyValues); 633throw ExceptionBuilder.TablesInDifferentSets(); 640throw ExceptionBuilder.ColumnsTypeMismatch(); 645throw ExceptionBuilder.KeyColumnsIdentical(); 800throw ExceptionBuilder.KeyLengthZero(); 804throw ExceptionBuilder.KeyLengthMismatch(); 811throw ExceptionBuilder.ExpressionInConstraint(parentColumns[i]); 815throw ExceptionBuilder.ExpressionInConstraint(childColumns[i]);
System\Data\LinqDataView.cs (3)
122throw ExceptionBuilder.IndexKeyLength(0, 0); 151throw ExceptionBuilder.IndexKeyLength(0, 0); 191throw ExceptionBuilder.IndexKeyLength(0, 0);
System\Data\Merger.cs (7)
250throw ExceptionBuilder.ArgumentNull($"{nameof(rows)}[{i}]"); 254throw ExceptionBuilder.ArgumentNull($"{nameof(rows)}[{i}].{nameof(DataRow.Table)}"); 346throw ExceptionBuilder.MergeMissingDefinition(table.TableName); 374throw ExceptionBuilder.MergeFailed(SR.Format(SR.DataMerge_MissingColumnDefinition, table.TableName, src.ColumnName)); 386throw ExceptionBuilder.MergeFailed(SR.Format(SR.DataMerge_DataTypeMismatch, src.ColumnName)); 593ExceptionBuilder.TraceExceptionForCapture(e); 601throw ExceptionBuilder.MergeMissingDefinition(relation.RelationName);
System\Data\Range.cs (2)
16throw ExceptionBuilder.RangeArgument(min, max); 49throw ExceptionBuilder.NullRange();
System\Data\RbTree.cs (25)
287throw ExceptionBuilder.InternalRBTreeError(RBTreeError.PagePositionInSlotInUse); 367throw ExceptionBuilder.InternalRBTreeError(RBTreeError.NoFreeSlots); 418throw ExceptionBuilder.InternalRBTreeError(RBTreeError.NestedSatelliteTreeEnumerator); 607throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidStateinInsert); 699throw ExceptionBuilder.InternalRBTreeError(RBTreeError.UnsupportedAccessMethod1); 730throw ExceptionBuilder.InternalRBTreeError(RBTreeError.UnsupportedAccessMethod2); 888throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidNextSizeInDelete); 936throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidStateinDelete); 977throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidNodeSizeinDelete); 1020throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidStateinEndDelete); 1116throw ExceptionBuilder.InternalRBTreeError(RBTreeError.RBDeleteFixup); 1174throw ExceptionBuilder.InternalRBTreeError(RBTreeError.CannotRotateInvalidsuccessorNodeinDelete); 1214throw ExceptionBuilder.InternalRBTreeError(RBTreeError.UnsupportedAccessMethodInNonNillRootSubtree); 1466throw ExceptionBuilder.RowOutOfRange(userIndex); 1470throw ExceptionBuilder.InternalRBTreeError(RBTreeError.IndexOutOFRangeinGetNodeByIndex); 1628throw ExceptionBuilder.ArgumentNull(nameof(array)); 1632throw ExceptionBuilder.ArgumentOutOfRange(nameof(index)); 1638throw ExceptionBuilder.InvalidOffsetLength(); 1653throw ExceptionBuilder.ArgumentNull(nameof(array)); 1657throw ExceptionBuilder.ArgumentOutOfRange(nameof(index)); 1662throw ExceptionBuilder.InvalidOffsetLength(); 1963throw ExceptionBuilder.InternalRBTreeError(RBTreeError.InvalidPageSize); 2070throw ExceptionBuilder.InternalRBTreeError(RBTreeError.IndexOutOFRangeinGetNodeByIndex); 2084throw ExceptionBuilder.EnumeratorModified(); 2113throw ExceptionBuilder.EnumeratorModified();
System\Data\RecordManager.cs (2)
24throw ExceptionBuilder.ArgumentNull(nameof(table)); 55throw ExceptionBuilder.NegativeMinimumCapacity();
System\Data\RelatedView.cs (1)
20throw ExceptionBuilder.ArgumentNull(nameof(values));
System\Data\Selection.cs (3)
118throw ExceptionBuilder.RecordStateRange(); 541throw ExceptionBuilder.IndexKeyLength(_indexFields.Length, 1); 582throw ExceptionBuilder.IndexKeyLength(_indexFields.Length, c);
System\Data\SimpleType.cs (1)
54throw ExceptionBuilder.SimpleTypeNotSupported();
System\Data\TypeLimiter.cs (1)
76throw ExceptionBuilder.TypeNotAllowed(type);
System\Data\UniqueConstraint.cs (5)
193throw ExceptionBuilder.RemovePrimaryKey(constraints.Table); 204throw ExceptionBuilder.NeededForForeignKeyConstraint(this, constraint); 232string error = ExceptionBuilder.UniqueConstraintViolationText(_key.ColumnsReference, (object[])uniqueKeys[i]); 260throw ExceptionBuilder.ConstraintViolation(ColumnsReference, values); 381throw ExceptionBuilder.ExpressionInConstraint(columns[i]);
System\Data\XDRSchema.cs (14)
151throw ExceptionBuilder.InvalidAttributeValue("content", value); 288throw ExceptionBuilder.UndefinedDatatype(name); 310throw ExceptionBuilder.InvalidAttributeValue("type", dt); 315throw ExceptionBuilder.MissingAttribute("type", Keywords.DT_VALUES); 329throw ExceptionBuilder.MissingAttribute("Element", Keywords.NAME); 336throw ExceptionBuilder.MissingAttribute("Element", Keywords.TYPE); 373throw ExceptionBuilder.DuplicateDeclaration(strName); 379throw ExceptionBuilder.DuplicateDeclaration(strName); 398throw ExceptionBuilder.UndefinedDatatype(strType); 490throw ExceptionBuilder.CannotConvert(strDefault, type.FullName!); 501throw ExceptionBuilder.AttributeValues(nameof(minOccurs), "0", "1"); 515throw ExceptionBuilder.AttributeValues(nameof(maxOccurs), "1", Keywords.STAR); 600throw ExceptionBuilder.ElementTypeNotFound(list[i]); 655throw ExceptionBuilder.DuplicateDeclaration(typeName);
System\Data\XmlDataLoader.cs (4)
266throw ExceptionBuilder.FoundEntity(); 797throw ExceptionBuilder.FoundEntity(); 1032throw ExceptionBuilder.FoundEntity(); 1336throw ExceptionBuilder.FoundEntity();
System\Data\XMLDiffLoader.cs (4)
103throw ExceptionBuilder.DiffgramMissingSQL(); 156throw ExceptionBuilder.DiffgramMissingSQL(); 193throw ExceptionBuilder.DiffgramMissingSQL(); 233throw ExceptionBuilder.DiffgramMissingSQL();
System\Data\xmlsaver.cs (7)
413throw ExceptionBuilder.InvalidDataColumnMapping(columnType); 2250ExceptionBuilder.ThrowMultipleTargetConverter(ex); 2255ExceptionBuilder.ThrowMultipleTargetConverter(null); 2620throw ExceptionBuilder.PolymorphismNotSupported(valuesType.AssemblyQualifiedName!); 2835throw ExceptionBuilder.MultipleParentRows(tempTable.Namespace.Length == 0 ? tempTable.TableName : tempTable.Namespace + tempTable.TableName); 2914throw ExceptionBuilder.MultipleParentRows(dt.Namespace.Length == 0 ? dt.TableName : (dt.Namespace + dt.TableName)); 3053throw ExceptionBuilder.PolymorphismNotSupported(valuesType.AssemblyQualifiedName!);
System\Data\XMLSchema.cs (43)
64throw ExceptionBuilder.CannotConvert(value, type.FullName); 96throw ExceptionBuilder.InvalidAttributeValue(attrName, value); 233throw ExceptionBuilder.InvalidDuplicateNamedSimpleTypeDelaration(tmpDataSimpleType.SimpleTypeQualifiedName!, errorStr); 311throw ExceptionBuilder.CannotConvert(value, type.FullName); 451throw ExceptionBuilder.RelationParentNameMissing(strName); 456throw ExceptionBuilder.RelationChildNameMissing(strName); 461throw ExceptionBuilder.RelationTableKeyMissing(strName); 466throw ExceptionBuilder.RelationChildKeyMissing(strName); 472throw ExceptionBuilder.MismatchKeyLength(); 483throw ExceptionBuilder.ElementTypeNotFound(parentName); 488throw ExceptionBuilder.ElementTypeNotFound(childName); 494throw ExceptionBuilder.ElementTypeNotFound(parentNames[i]); 497throw ExceptionBuilder.ElementTypeNotFound(childNames[i]); 740throw ExceptionBuilder.IsDataSetAttributeMissingInSchema(); 744throw ExceptionBuilder.TooManyIsDataSetAttributesInSchema(); 1043throw ExceptionBuilder.CircularComplexType(ct.Name!); 1189throw ExceptionBuilder.InvalidField(field); 1194throw ExceptionBuilder.InvalidField(field); 1230throw ExceptionBuilder.InvalidAttributeValue(attrName, value); 1297throw ExceptionBuilder.MissingRefer(name); 1303throw ExceptionBuilder.InvalidKey(name); 1393throw ExceptionBuilder.MissingAttribute(Keywords.NAME); 1396throw ExceptionBuilder.DuplicateConstraintRead(name); 1453throw ExceptionBuilder.DuplicateDeclaration(typeName); 1579throw ExceptionBuilder.DuplicateDeclaration(typeName); 1795throw ExceptionBuilder.UndefinedDatatype(xsdTypeName); 1861throw ExceptionBuilder.UndefinedDatatype(name); 1877throw ExceptionBuilder.UndefinedDatatype(dt); 2088throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2190throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2250throw ExceptionBuilder.DatatypeNotDefined(); 2252throw ExceptionBuilder.UndefinedDatatype(typeNode.Id); 2268throw ExceptionBuilder.ColumnTypeConflict(column.ColumnName); 2337throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2354throw ExceptionBuilder.CannotConvert(strDefault, type.FullName); 2427throw ExceptionBuilder.DatatypeNotDefined(); 2437throw ExceptionBuilder.DatatypeNotDefined(); 2439throw ExceptionBuilder.UndefinedDatatype(typeNode.Id); 2454throw ExceptionBuilder.ColumnTypeConflict(column.ColumnName); 2556throw ExceptionBuilder.CannotConvert(strDefault, type.FullName); 2782throw ExceptionBuilder.InvalidSelector(xpath); 2801throw ExceptionBuilder.InvalidSelector(xpath); 2841throw ExceptionBuilder.CannotInstantiateAbstract(node.Name!);