[Top][All Lists]
[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 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/Basic ErrObject.cs,1.3,1.4,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Vsa VsaCodeItem.cs,1.2,1.3
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/profiles compact,1.6,1.7 compact-fp,1.4,1.5 ecma,1.6,1.7 full,1.7,1.8 kernel,1.6,1.7 kernel-fp,1.4,1.5 tiny,1.5,1.6 tiny-fp,1.4,1.5
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Vsa VsaCodeItem.cs,1.2,1.3
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/profiles compact,1.6,1.7 compact-fp,1.4,1.5 ecma,1.6,1.7 full,1.7,1.8 kernel,1.6,1.7 kernel-fp,1.4,1.5 tiny,1.5,1.6 tiny-fp,1.4,1.5
- Index(es):