On Sun, Feb 14, 2010 at 6:53 AM, Sean Owen <sro...@gmail.com> wrote: > -1 to 'throws Exception' except where harmless or needed: > > - main() > - JUnit >
Neither of these is necessary. They both can be specific instead of excessively general. I change this when I see it but don't complain except when somebody reports to me. > - methods which call such unfortunately declared methods > Sad, but true. Even there, I like to catch and rethrow more specific exceptions.