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/Runtime/InteropService


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServices COMException.cs,1.1,1.2 ExternalException.cs,1.2,1.3 InvalidComObjectException.cs,1.1,1.2 InvalidOleVariantTypeException.cs,1.1,1.2 MarshalDirectiveException.cs,1.1,1.2 SEHException.cs,1.1,1.2 SafeArrayRankMismatchException.cs,1.1,1.2 SafeArrayTypeMismatchException.cs,1.1,1.2
Date: Fri, 04 Apr 2003 19:35:20 -0500

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

Modified Files:
        COMException.cs ExternalException.cs 
        InvalidComObjectException.cs InvalidOleVariantTypeException.cs 
        MarshalDirectiveException.cs SEHException.cs 
        SafeArrayRankMismatchException.cs 
        SafeArrayTypeMismatchException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


Index: COMException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/COMException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** COMException.cs     4 Apr 2003 21:53:53 -0000       1.1
--- COMException.cs     5 Apr 2003 00:35:17 -0000       1.2
***************
*** 60,63 ****
--- 60,72 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004005;
+                               }
+                       }
+ 
  }; // class COMException
  

Index: ExternalException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/ExternalException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ExternalException.cs        4 Apr 2003 21:53:53 -0000       1.2
--- ExternalException.cs        5 Apr 2003 00:35:17 -0000       1.3
***************
*** 65,68 ****
--- 65,77 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004005;
+                               }
+                       }
+ 
  }; // class ExternalException
  

Index: InvalidComObjectException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/InvalidComObjectException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** InvalidComObjectException.cs        4 Apr 2003 21:53:53 -0000       1.1
--- InvalidComObjectException.cs        5 Apr 2003 00:35:17 -0000       1.2
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131527;
+                               }
+                       }
+ 
  }; // class InvalidComObjectException
  

Index: InvalidOleVariantTypeException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** InvalidOleVariantTypeException.cs   4 Apr 2003 21:53:53 -0000       1.1
--- InvalidOleVariantTypeException.cs   5 Apr 2003 00:35:17 -0000       1.2
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131531;
+                               }
+                       }
+ 
  }; // class InvalidOleVariantTypeException
  

Index: MarshalDirectiveException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/MarshalDirectiveException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MarshalDirectiveException.cs        4 Apr 2003 21:53:53 -0000       1.1
--- MarshalDirectiveException.cs        5 Apr 2003 00:35:17 -0000       1.2
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131535;
+                               }
+                       }
+ 
  }; // class MarshalDirectiveException
  

Index: SEHException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/SEHException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SEHException.cs     4 Apr 2003 21:53:53 -0000       1.1
--- SEHException.cs     5 Apr 2003 00:35:17 -0000       1.2
***************
*** 56,59 ****
--- 56,68 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004005;
+                               }
+                       }
+ 
  }; // class SEHException
  

Index: SafeArrayRankMismatchException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SafeArrayRankMismatchException.cs   4 Apr 2003 21:53:53 -0000       1.1
--- SafeArrayRankMismatchException.cs   5 Apr 2003 00:35:17 -0000       1.2
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131538;
+                               }
+                       }
+ 
  }; // class SafeArrayRankMismatchException
  

Index: SafeArrayTypeMismatchException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SafeArrayTypeMismatchException.cs   4 Apr 2003 21:53:53 -0000       1.1
--- SafeArrayTypeMismatchException.cs   5 Apr 2003 00:35:17 -0000       1.2
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131533;
+                               }
+                       }
+ 
  }; // class SafeArrayTypeMismatchException
  





reply via email to

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