DbException.cs 1.1 KB

1234567891011121314151617181920212223242526272829
  1. //------------------------------------------------------------------------------
  2. // <copyright file="DbException.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // <owner current="true" primary="true">Microsoft</owner>
  6. // <owner current="true" primary="false">Microsoft</owner>
  7. //------------------------------------------------------------------------------
  8. namespace System.Data.Common {
  9. [Serializable]
  10. public abstract class DbException : System.Runtime.InteropServices.ExternalException {
  11. protected DbException() : base() {
  12. }
  13. protected DbException(System.String message) : base(message) {
  14. }
  15. protected DbException(System.String message, System.Exception innerException) : base(message, innerException) {
  16. }
  17. protected DbException(System.String message, System.Int32 errorCode) : base(message, errorCode) {
  18. }
  19. protected DbException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) {
  20. }
  21. }
  22. }