Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft ASP .NET
Why shouldn't I catch general exceptions?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="John Timney \(MVP\), post: 9541241"] My personal opinion is that you should catch all exceptions gracefully, but make sure the user is informed that an error has occured. The reason it states it speciifically for libraries is likely to be that a library is an object thats consumed, so its up to the consumer to determine what to do with any thrown error. With a library, its normally a coder developing code that uses the library, so they should handle any exception thrown to them. Regards John Timney (MVP) [URL]http://www.johntimney.com[/URL] [URL]http://www.johntimney.com/blog[/URL] [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft ASP .NET
Why shouldn't I catch general exceptions?
Top