The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 An Introduction to Java Persistence for Client-Side Developers
Subject:  Isn't catch(Exception ex) bad?
Date:  2006-05-26 19:38:07
From:  cupofjoe


Not trying to nit pick but I've been jumping on folks on my team that catch exception or catch runtime exception. </P>

The only 'exception' I make, :-) is for main() to just do a throws there if you don't plan on doing anything with it. In Effective Java and my Checkstyle rules they all tell me this is a bad thing. Am I missing something?


 Feed java.net RSS Feeds