12 types derived from DataException
System.Data.Common (12)
System\Data\DataException.cs (10)
36public class ConstraintException : DataException 62public class DeletedRowInaccessibleException : DataException 94public class DuplicateNameException : DataException 120public class InRowChangingEventException : DataException 146public class InvalidConstraintException : DataException 172public class MissingPrimaryKeyException : DataException 198public class NoNullAllowedException : DataException 224public class ReadOnlyException : DataException 250public class RowNotInTableException : DataException 276public class VersionNotFoundException : DataException
System\Data\Filter\FilterException.cs (1)
13public class InvalidExpressionException : DataException
System\Data\StrongTypingException.cs (1)
14public class StrongTypingException : DataException
3 instantiations of DataException
System.Data.Common (3)
System\Data\Common\AdapterUtil.Common.cs (1)
42DataException e = new DataException(message);
System\Data\DataException.cs (2)
354throw TraceExceptionAsReturnValue(new DataException(error, innerException)); 357private static Exception _Data(string error) => TraceExceptionAsReturnValue(new DataException(error));
10 references to DataException
netstandard (1)
netstandard.cs (1)
490[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.DataException))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
64[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.DataException))]
System.Data.Common (8)
System\Data\Common\AdapterUtil.Common.cs (4)
40internal static DataException Data(string message) 42DataException e = new DataException(message); 641internal static DataException RowUpdatedErrors() 645internal static DataException RowUpdatingErrors()
System\Data\DataRowView.cs (3)
50/// <exception cref="DataException"><see cref="System.Data.DataView.get_AllowEdit"/> when setting a value.</exception> 70/// <exception cref="DataException">Unmatched <paramref name="property"/> when setting a value.</exception> 71/// <exception cref="DataException"><see cref="System.Data.DataView.get_AllowEdit"/> when setting a value.</exception>
System\Data\xmlsaver.cs (1)
2230/// <exception cref="DataException">if multipleTargetConverter throws or returns an empty result</exception>