Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.Web.Security Roles class
Message
 
 
To
20/03/2008 13:58:32
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01303990
Message ID:
01304029
Views:
16
>>Yes, it's standard practice to only trap exceptions which you can handle, which usually isn't just "Exception", but a specific type of exception (or exceptions). Having said that, sometimes you have to capture the generic "Exception" type because no other (more specific exception) type is available.
>
>Paul,
>At that point, why don't you just create a custom Exception class? I do this a lot to trap business logic exceptions.

Would you please elaborate a bit on that with code sample?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform