DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 02:51:03 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    Neil Walters


Static constructor exception vanishes   
Hi all

Under the full .NET framework: if an exception is thrown from within a
static constructor, the CLR catches the exception, wraps it within a
TypeInitializationException and then throws the
TypeInitializationException.

However, the compact framework doesn't support the
TypeInitializationException. Instead a TypeLoadException is thrown,
but the original Exception seems to get lost.

Does anyone know what happens to the original exception?

Neil Walters.
Date:Mon, 20 Aug 2007 02:51:03 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us