24 references to DataException
System.Data.Common (24)
System\Data\Common\AdapterUtil.Common.cs (1)
42
DataException e = new
DataException
(message);
System\Data\DataException.cs (21)
44
public ConstraintException() :
base
(SR.DataSet_DefaultConstraintException)
49
public ConstraintException(string? s) :
base
(s ?? SR.DataSet_DefaultConstraintException)
73
public DeletedRowInaccessibleException() :
base
(SR.DataSet_DefaultDeletedRowInaccessibleException)
81
public DeletedRowInaccessibleException(string? s) :
base
(s ?? SR.DataSet_DefaultDeletedRowInaccessibleException)
102
public DuplicateNameException() :
base
(SR.DataSet_DefaultDuplicateNameException)
107
public DuplicateNameException(string? s) :
base
(s ?? SR.DataSet_DefaultDuplicateNameException)
128
public InRowChangingEventException() :
base
(SR.DataSet_DefaultInRowChangingEventException)
133
public InRowChangingEventException(string? s) :
base
(s ?? SR.DataSet_DefaultInRowChangingEventException)
154
public InvalidConstraintException() :
base
(SR.DataSet_DefaultInvalidConstraintException)
159
public InvalidConstraintException(string? s) :
base
(s ?? SR.DataSet_DefaultInvalidConstraintException)
180
public MissingPrimaryKeyException() :
base
(SR.DataSet_DefaultMissingPrimaryKeyException)
185
public MissingPrimaryKeyException(string? s) :
base
(s ?? SR.DataSet_DefaultMissingPrimaryKeyException)
206
public NoNullAllowedException() :
base
(SR.DataSet_DefaultNoNullAllowedException)
211
public NoNullAllowedException(string? s) :
base
(s ?? SR.DataSet_DefaultNoNullAllowedException)
232
public ReadOnlyException() :
base
(SR.DataSet_DefaultReadOnlyException)
237
public ReadOnlyException(string? s) :
base
(s ?? SR.DataSet_DefaultReadOnlyException)
258
public RowNotInTableException() :
base
(SR.DataSet_DefaultRowNotInTableException)
263
public RowNotInTableException(string? s) :
base
(s ?? SR.DataSet_DefaultRowNotInTableException)
284
public VersionNotFoundException() :
base
(SR.DataSet_DefaultVersionNotFoundException)
289
public VersionNotFoundException(string? s) :
base
(s ?? (SR.DataSet_DefaultVersionNotFoundException))
357
private static Exception _Data(string error) => TraceExceptionAsReturnValue(new
DataException
(error));
System\Data\Filter\FilterException.cs (1)
23
public InvalidExpressionException(string? s) :
base
(s) { }
System\Data\StrongTypingException.cs (1)
28
public StrongTypingException(string? message) :
base
(message)