Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System.Data / System / Data / Common / DbException.cs
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
9 namespace System.Data.Common {
10
11     [Serializable]
12     public abstract class DbException : System.Runtime.InteropServices.ExternalException {
13
14         protected DbException() : base() {
15         }
16
17         protected DbException(System.String message) : base(message) {
18         }
19
20         protected DbException(System.String message, System.Exception innerException) : base(message, innerException) {
21         }
22
23         protected DbException(System.String message, System.Int32 errorCode) : base(message, errorCode) {
24         }
25
26         protected DbException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) {
27         }
28     }
29 }