[pgsqlclient-checkins] pgsqlclient/PostgreSql.Data.PGSqlClient/source PGException.cs,1.1.1.1,1.2
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-07-13 13:43:51
|
Update of /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv26608 Modified Files: PGException.cs Log Message: Fixed constructors Index: PGException.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient/PostgreSql.Data.PGSqlClient/source/PGException.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** PGException.cs 12 Jul 2003 08:11:21 -0000 1.1.1.1 --- PGException.cs 13 Jul 2003 13:43:46 -0000 1.2 *************** *** 38,45 **** public new string Message { ! get ! { ! return message; ! } } --- 38,42 ---- public new string Message { ! get { return this.message; } } *************** *** 52,69 **** #region CONSTRUCTORS ! internal PGException() : base() { errors = new PGErrorCollection(); } ! ! internal PGException(string message) : this() { ! this.message = message; } ! internal PGException(string message, PGClientException ex) : this() { ! this.message = message; getPGExceptionErrors(ex); } --- 49,74 ---- #region CONSTRUCTORS ! internal PGException() : base() { errors = new PGErrorCollection(); } ! ! internal PGException(string message) : base(message) { ! errors = new PGErrorCollection(); } ! internal PGException(SerializationInfo info, StreamingContext context) : base(info, context) { ! errors = new PGErrorCollection(); ! } ! ! internal PGException(string message, PGClientException ex) : base(message, ex) ! { ! errors = new PGErrorCollection(); ! errorCode = ex.ErrorCode; ! Source = ex.Source; ! getPGExceptionErrors(ex); } |