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/Reflection AmbiguousMa


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.3,1.4 InvalidFilterCriteriaException.cs,1.1,1.2 TargetException.cs,1.3,1.4 TargetInvocationException.cs,1.3,1.4 TargetParameterCountException.cs,1.3,1.4
Date: Fri, 04 Apr 2003 19:35:19 -0500

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

Modified Files:
        AmbiguousMatchException.cs InvalidFilterCriteriaException.cs 
        TargetException.cs TargetInvocationException.cs 
        TargetParameterCountException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


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

Index: InvalidFilterCriteriaException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/InvalidFilterCriteriaException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** InvalidFilterCriteriaException.cs   4 Apr 2003 23:29:58 -0000       1.1
--- InvalidFilterCriteriaException.cs   5 Apr 2003 00:35:16 -0000       1.2
***************
*** 52,55 ****
--- 52,64 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131601;
+                               }
+                       }
+ 
  }; // class InvalidFilterCriteriaException
  

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

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

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





reply via email to

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