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


Gaming > Development Programming Misc > Re: C++ Questio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 9 Topic 905 of 1010
Post > Topic >>

Re: C++ Question: try-throw-catch

by Miss Elaine Eos <Misc@[EMAIL PROTECTED] > Jun 25, 2007 at 07:40 AM

In article <1182747801.427938.107760@[EMAIL PROTECTED]
>,
 "Brandon J. Van Every" <bvanevery@[EMAIL PROTECTED]
> wrote:

> Debug logs are
> useful, but passing errors up the call chain isn't.  Most of the time
> it's a verbose way of saying, "I have no idea what to do, please crash
> me."

Often, it's a way of saying "it's not appropriate for me to decide what 
to do, I'll let the caller handle it.

IO routines do this, commonly.  It's rarely appropriate for an IO 
routine to decide how to handle an exception, and "please crash" is 
almost never what you ultimately want to have happen.

-- 
Please take off your pants or I won't read your e-mail.
I will not, no matter how "good" the deal, patronise any business which
sends
unsolicited commercial e-mail or that advertises in discussion newsgroups.
 




 9 Posts in Topic:
C++ Question: try-throw-catch
Michael Hathcock <lord  2007-05-14 20:49:21 
Re: C++ Question: try-throw-catch
ajk <foo@[EMAIL PROTEC  2007-05-15 11:29:37 
Re: C++ Question: try-throw-catch
Tom Plunket <gamedev@[  2007-05-24 16:18:56 
Re: C++ Question: try-throw-catch
"Brandon J. Van Ever  2007-06-25 05:03:21 
Re: C++ Question: try-throw-catch
Miss Elaine Eos <Misc@  2007-06-25 07:40:24 
Re: C++ Question: try-throw-catch
"Brandon J. Van Ever  2007-06-26 02:41:53 
Re: C++ Question: try-throw-catch
Miss Elaine Eos <Misc@  2007-06-25 19:55:06 
Re: C++ Question: try-throw-catch
"Brandon J. Van Ever  2007-06-26 03:20:14 
Re: C++ Question: try-throw-catch
ajk <ak@[EMAIL PROTECT  2007-06-27 00:14:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Jul 20 1:18:16 CDT 2008.