dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System UriFormatException.cs,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System UriFormatException.cs,1.2,1.3
Date: Fri, 04 Apr 2003 19:35:18 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/System
In directory subversions:/tmp/cvs-serv20048/System

Modified Files:
        UriFormatException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


Index: UriFormatException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/UriFormatException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** UriFormatException.cs       21 Apr 2002 03:24:53 -0000      1.2
--- UriFormatException.cs       5 Apr 2003 00:35:16 -0000       1.3
***************
*** 29,35 ****
        // Constructors.
        public UriFormatException()
!               : base(S._("Exception_UriFormat")) {}
        public UriFormatException(String msg)
!               : base(msg) {}
  
        // Get the default message to use for this exception type.
--- 29,45 ----
        // Constructors.
        public UriFormatException()
!               : base(S._("Exception_UriFormat"))
!               {
!               #if !ECMA_COMPAT
!                       HResult = (int)0x80131537;
!               #endif
!               }
        public UriFormatException(String msg)
!               : base(msg)
!               {
!               #if !ECMA_COMPAT
!                       HResult = (int)0x80131537;
!               #endif
!               }
  
        // Get the default message to use for this exception type.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]