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

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

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading Synchronizat


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading SynchronizationLockException.cs,1.3,1.4ThreadAbortException.cs,1.2,1.3 ThreadInterruptedException.cs,1.3,1.4ThreadStateException.cs,1.3,1.4
Date: Fri, 04 Apr 2003 19:35:19 -0500

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

Modified Files:
        SynchronizationLockException.cs ThreadAbortException.cs 
        ThreadInterruptedException.cs ThreadStateException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


Index: SynchronizationLockException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/SynchronizationLockException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** SynchronizationLockException.cs     28 Nov 2001 04:22:39 -0000      1.3
--- SynchronizationLockException.cs     5 Apr 2003 00:35:17 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131518;
+                               }
+                       }
+ 
  }; // class SynchronizationLockException
  

Index: ThreadAbortException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/ThreadAbortException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ThreadAbortException.cs     28 Nov 2001 04:22:39 -0000      1.2
--- ThreadAbortException.cs     5 Apr 2003 00:35:17 -0000       1.3
***************
*** 44,47 ****
--- 44,56 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131530;
+                               }
+                       }
+ 
  }; // class ThreadAbortException
  

Index: ThreadInterruptedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/ThreadInterruptedException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ThreadInterruptedException.cs       28 Nov 2001 04:22:39 -0000      1.3
--- ThreadInterruptedException.cs       5 Apr 2003 00:35:17 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131519;
+                               }
+                       }
+ 
  }; // class ThreadInterruptedException
  

Index: ThreadStateException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/ThreadStateException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ThreadStateException.cs     28 Nov 2001 04:22:39 -0000      1.3
--- ThreadStateException.cs     5 Apr 2003 00:35:17 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131520;
+                               }
+                       }
+ 
  }; // class ThreadStateException
  





reply via email to

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