List:Commits« Previous MessageNext Message »
From:rburnett Date:August 28 2006 4:22pm
Subject:Connector/NET commit: r327 - trunk/mysqlclient
View as plain text  
Modified:
   trunk/mysqlclient/Exception.cs
Log:
Bug #21874 MySqlException should derive from DbException 

Changed MySqlException to derive from DbException

Modified: trunk/mysqlclient/Exception.cs
===================================================================
--- trunk/mysqlclient/Exception.cs	2006-08-22 20:53:50 UTC (rev 326)
+++ trunk/mysqlclient/Exception.cs	2006-08-28 14:22:45 UTC (rev 327)
@@ -20,6 +20,7 @@
 
 using System;
 using System.Runtime.Serialization;
+using System.Data.Common;
 
 namespace MySql.Data.MySqlClient
 {
@@ -30,7 +31,7 @@
 #if !CF
 	[Serializable]
 #endif
-	public sealed class MySqlException : SystemException
+	public sealed class MySqlException : DbException
 	{
 		private int errorCode;
 		private bool isFatal;

Thread
Connector/NET commit: r327 - trunk/mysqlclientrburnett28 Aug