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/IO DirectoryNotFoundEx


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryNotFoundException.cs,1.2,1.3 EndOfStreamException.cs,1.2,1.3 FileLoadException.cs,1.4,1.5 FileNotFoundException.cs,1.5,1.6 IOException.cs,1.4,1.5 PathTooLongException.cs,1.2,1.3
Date: Fri, 04 Apr 2003 19:35:19 -0500

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

Modified Files:
        DirectoryNotFoundException.cs EndOfStreamException.cs 
        FileLoadException.cs FileNotFoundException.cs IOException.cs 
        PathTooLongException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


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

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

Index: FileLoadException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileLoadException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** FileLoadException.cs        9 Mar 2003 07:37:08 -0000       1.4
--- FileLoadException.cs        5 Apr 2003 00:35:16 -0000       1.5
***************
*** 129,132 ****
--- 129,141 ----
  #endif
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x131621;
+                               }
+                       }
+ 
  }; // class FileLoadException
  

Index: FileNotFoundException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileNotFoundException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** FileNotFoundException.cs    7 Feb 2003 17:54:31 -0000       1.5
--- FileNotFoundException.cs    5 Apr 2003 00:35:16 -0000       1.6
***************
*** 129,132 ****
--- 129,141 ----
  #endif
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80070002;
+                               }
+                       }
+ 
  }; // class FileNotFoundException
  

Index: IOException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/IOException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** IOException.cs      19 Apr 2002 03:52:07 -0000      1.4
--- IOException.cs      5 Apr 2003 00:35:16 -0000       1.5
***************
*** 103,106 ****
--- 103,115 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131620;
+                               }
+                       }
+ 
  }; // class IOException
  

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





reply via email to

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