The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  RTFM
Date:  2007-06-27 21:26:03
From:  tompalmer
Response to: RTFM


Java never provides any guarantees about exceptions anyway. Always assume any throwable can happen at any time. So be safe with finally (also too hard in Java), and by default stop exceptions only in the main loop (i.e., at the servlet container or gui framework). Work to map well known errors to useful error messages. Log everything only at this layer. That covers about 90% of use cases. Checked exceptions don't help any of this.

 Feed java.net RSS Feeds