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

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

[Dotgnu-pnet-commits] CVS: pnetlib/Basic ErrObject.cs,1.3,1.4


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/Basic ErrObject.cs,1.3,1.4
Date: Wed, 28 May 2003 21:23:11 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/Basic
In directory subversions:/tmp/cvs-serv18917/Basic

Modified Files:
        ErrObject.cs 
Log Message:


Add new profile options - CONFIG_COM_INTEROP, CONFIG_CODEDOM,
CONFIG_CRYPTO, CONFIG_X509_CERTIFICATES.


Index: ErrObject.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Basic/ErrObject.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ErrObject.cs        22 May 2003 07:25:29 -0000      1.3
--- ErrObject.cs        29 May 2003 01:22:39 -0000      1.4
***************
*** 224,227 ****
--- 224,228 ----
                                        return 91;
                                }
+ #if CONFIG_COM_INTEROP
                                if(exception is COMException)
                                {
***************
*** 232,235 ****
--- 233,241 ----
                                        return 99;
                                }
+                               if(exception is InvalidOleVariantTypeException)
+                               {
+                                       return 458;
+                               }
+ #endif
                                if(exception is TypeLoadException)
                                {
***************
*** 248,255 ****
                                        return 453;
                                }
-                               if(exception is InvalidOleVariantTypeException)
-                               {
-                                       return 458;
-                               }
                                return 5;
                        }
--- 254,257 ----
***************
*** 305,311 ****
--- 307,318 ----
                                                return new 
NullReferenceException(message);
  
+ #if CONFIG_COM_INTEROP
                                        case 99:
                                                return new 
SEHException(message);
  
+                                       case 458:
+                                               return new 
InvalidOleVariantTypeException(message);
+ #endif
+ 
                                        case 422:
                                                return new 
MissingFieldException(message);
***************
*** 316,322 ****
                                        case 453:
                                                return new 
EntryPointNotFoundException(message);
- 
-                                       case 458:
-                                               return new 
InvalidOleVariantTypeException(message);
  
                                        default:
--- 323,326 ----





reply via email to

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