Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18600
Modified Files:
PgCommandBuilder.cs PgConnection.cs PgConnectionPool.cs
PgDataReader.cs
Log Message:
2005-04-03 Carlos Guzman Alvarez <car...@te...>
* Changes to improve exception handling.
Index: PgConnectionPool.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgConnectionPool.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** PgConnectionPool.cs 29 Sep 2004 12:08:12 -0000 1.8
--- PgConnectionPool.cs 4 Apr 2005 18:14:37 -0000 1.9
***************
*** 184,190 ****
return connection;
}
! catch (Exception ex)
{
! throw ex;
}
}
--- 184,190 ----
return connection;
}
! catch (Exception)
{
! throw;
}
}
***************
*** 197,203 ****
connection.Verify());
}
! catch (Exception ex)
{
! throw ex;
}
}
--- 197,203 ----
connection.Verify());
}
! catch (Exception)
{
! throw;
}
}
Index: PgDataReader.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgDataReader.cs,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** PgDataReader.cs 29 Sep 2004 12:08:12 -0000 1.24
--- PgDataReader.cs 4 Apr 2005 18:14:42 -0000 1.25
***************
*** 369,373 ****
#endregion
! #region IDataRecord Properties % Methods
public int FieldCount
--- 369,373 ----
#endregion
! #region IDataRecord Properties & Methods
public int FieldCount
Index: PgConnection.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgConnection.cs,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** PgConnection.cs 31 Jan 2005 13:29:36 -0000 1.21
--- PgConnection.cs 4 Apr 2005 18:14:36 -0000 1.22
***************
*** 284,291 ****
this.Open();
}
! catch (PgException ex)
{
this.connectionInternal.Options.Database = oldDb;
! throw ex;
}
}
--- 284,291 ----
this.Open();
}
! catch (PgException)
{
this.connectionInternal.Options.Database = oldDb;
! throw;
}
}
Index: PgCommandBuilder.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommandBuilder.cs,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** PgCommandBuilder.cs 29 Sep 2004 12:08:06 -0000 1.23
--- PgCommandBuilder.cs 4 Apr 2005 18:14:32 -0000 1.24
***************
*** 260,264 ****
public PgCommand GetDeleteCommand()
! {
if (this.deleteCommand == null)
{
--- 260,264 ----
public PgCommand GetDeleteCommand()
! {
if (this.deleteCommand == null)
{
|