Update of /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source
In directory sc8-pr-cvs1:/tmp/cvs-serv30570
Modified Files:
PGException.cs
Log Message:
Fixed error with latest commit
Index: PGException.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source/PGException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PGException.cs 13 Jul 2003 13:43:46 -0000 1.2
--- PGException.cs 13 Jul 2003 13:54:02 -0000 1.3
***************
*** 19,22 ****
--- 19,23 ----
using System;
using System.Text;
+ using System.Runtime.Serialization;
using PostgreSql.Data.NPGClient;
***************
*** 29,33 ****
#region FIELDS
- private string message;
private PGErrorCollection errors;
--- 30,33 ----
***************
*** 36,44 ****
#region PROPERTIES
- public new string Message
- {
- get { return this.message; }
- }
-
public PGErrorCollection Errors
{
--- 36,39 ----
***************
*** 67,73 ****
internal PGException(string message, PGClientException ex) : base(message, ex)
{
! errors = new PGErrorCollection();
! errorCode = ex.ErrorCode;
! Source = ex.Source;
getPGExceptionErrors(ex);
--- 62,67 ----
internal PGException(string message, PGClientException ex) : base(message, ex)
{
! errors = new PGErrorCollection();
! Source = ex.Source;
getPGExceptionErrors(ex);
|