The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  I chose no but...
Date:  2007-06-28 06:20:05
From:  hytparadisee


In my opinion, it is the RuntimeException that caused all the confusions. Exceptions should be either all checked, or all unchecked. I think the checked exceptions are powerful, but too powerful that it even overwhelmed the compiler. That's not always good though. In other words, the important thing is not whether to check or uncheck exceptions, but how the compiler/runtime respond to them. Why not just throw warnings instead of errors (just like those with generics) on checked exceptions, so that programmers, fortunately, would have a choice. (just talking rubbish here, because throwing warning instead of error will bring hell to the compiler designers lol)

 Feed java.net RSS Feeds