Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Programmer > Re: To wrap or ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 16 Topic 52595 of 55513
Post > Topic >>

Re: To wrap or not to wrap?

by "Daniel Dyer" <"You don't need it"> May 9, 2008 at 12:42 AM

On Fri, 09 May 2008 00:37:00 +0100, Daniel Dyer <"You don't need it">  
wrote:


>> etc. These functions catch exceptions and return null if something
>> goes wrong.

....

> If something goes wrong and you can't recover from it, let the exception
 
> propagate.  The alternative is just storing up problems for later.

Unless of course, you are testing the return value for every invocation.  

But that would be nuts (and error-prone).

Dan.

-- 
Daniel Dyer
http://www.uncommons.org
 




 16 Posts in Topic:
To wrap or not to wrap?
Aaron Fude <aaronfude@  2008-05-08 15:19:42 
Re: To wrap or not to wrap?
ram@[EMAIL PROTECTED] (S  2008-05-08 22:54:08 
Re: To wrap or not to wrap?
=?ISO-8859-1?Q?Arne_Vajh=  2008-05-08 19:13:32 
Re: To wrap or not to wrap?
Aaron Fude <aaronfude@  2008-05-08 16:33:14 
Re: To wrap or not to wrap?
=?ISO-8859-1?Q?Arne_Vajh=  2008-05-08 19:36:50 
Re: To wrap or not to wrap?
ram@[EMAIL PROTECTED] (S  2008-05-08 23:44:34 
Re: To wrap or not to wrap?
"Chronic Philharmoni  2008-05-09 05:57:53 
Re: To wrap or not to wrap?
ram@[EMAIL PROTECTED] (S  2008-05-09 12:54:18 
Re: To wrap or not to wrap?
"Chronic Philharmoni  2008-05-10 18:33:24 
Re: To wrap or not to wrap?
"Daniel Dyer" &  2008-05-09 00:37:00 
Re: To wrap or not to wrap?
"Daniel Dyer" &  2008-05-09 00:42:54 
Re: To wrap or not to wrap?
Tom Anderson <twic@[EM  2008-05-09 00:37:43 
Re: To wrap or not to wrap?
Patricia Shanahan <pat  2008-05-08 20:46:58 
Re: To wrap or not to wrap?
Roedy Green <see_websi  2008-05-09 03:48:55 
Re: To wrap or not to wrap?
java_killer <ggl.book.  2008-05-09 00:48:08 
Re: To wrap or not to wrap?
Lew <lew@[EMAIL PROTEC  2008-05-09 09:17:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 19:59:30 CST 2008.