Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anything Wrong with Creating An ExceptionOccurred Event
Message
From
13/08/2009 18:58:02
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01417957
Message ID:
01418027
Views:
38
>Anyone see anything wrong with create an event to raise when an exception occurs?
>It could be called from with a Catch statement.

That is exactly what I do when I create components or assemblies that have no UI. I raise an error event usually from within a catch but not always and the application subscribing to these can handle the event however it sees fit. I typically have EventArguments that include the reason, and maybe if it was fatal or something; just depends on the circumstances.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform