Alex Rivera | Logout

What are the pros and cons of checked exception?

Asked 2009-05-26T21:55:24.950
12

Do you prefer checked exception handling like in Java or unchecked exception handling like in C# and why?

Edit
Report

1 Answer

0

I think in most cases checked exception are a waste of time. They entrap to things like the antipattern mentioned by randolpho or extensive creation of custom exceptions to decouple your implementation from used libraries. Beeing rid of this 'feature' lets you focus on what you want to do.

answered 2009-05-26T22:25:42.283

Your Answer