2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="DbException.cs" company="Microsoft">
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
2017-08-21 15:34:15 +00:00
|
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
|
|
// <owner current="true" primary="false">Microsoft</owner>
|
2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace System.Data.Common {
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public abstract class DbException : System.Runtime.InteropServices.ExternalException {
|
|
|
|
|
|
|
|
protected DbException() : base() {
|
|
|
|
}
|
|
|
|
|
|
|
|
protected DbException(System.String message) : base(message) {
|
|
|
|
}
|
|
|
|
|
|
|
|
protected DbException(System.String message, System.Exception innerException) : base(message, innerException) {
|
|
|
|
}
|
|
|
|
|
|
|
|
protected DbException(System.String message, System.Int32 errorCode) : base(message, errorCode) {
|
|
|
|
}
|
|
|
|
|
|
|
|
protected DbException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|