Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-Project Exception Handling
Message
From
08/06/2009 10:28:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01404075
Message ID:
01404438
Views:
28
>I have a solution with multiple projects in it. How do I do exception handling so that all exceptions from any project in the solution are handled in one place?

I do as Viv suggested in the last part of the post. I try to catch all exceptions and then raise an error event in the component project. The application level can subscribe to that event and log it in the application log. I have several component projects that work with different applications and I typically just raise an event in the component and log it in the appliation along with other activity the application needs to deal with based on the error.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform