Skip to content

Commit c52d259

Browse files
committed
Adding default ctors - per NH-2021
SVN: trunk@4911
1 parent 8c93e6f commit c52d259

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/NHibernate/ADOException.cs

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ public class ADOException : HibernateException
1717
{
1818
private readonly string sql;
1919

20+
public ADOException()
21+
{
22+
23+
}
2024
/// <summary>
2125
/// Initializes a new instance of the <see cref="ADOException"/> class.
2226
/// </summary>

src/NHibernate/Exceptions/GenericADOException.cs

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ namespace NHibernate.Exceptions
77
[Serializable]
88
public class GenericADOException : ADOException
99
{
10+
public GenericADOException()
11+
{
12+
13+
}
1014
public GenericADOException(SerializationInfo info, StreamingContext context) : base(info, context) { }
1115
public GenericADOException(string message, Exception innerException, string sql) : base(message, innerException, sql) { }
1216
public GenericADOException(string message, Exception innerException) : base(message, innerException) { }

0 commit comments

Comments
 (0)