Looking for guidance on exceptions

Published 01 July 04 02:51 PM

Are there any books or other media that have good guidance on the use of exceptions in code?  I'd like to get really deep here, so we can get a good understanding of how & when to use exceptions correctly.

What's your favorite?

Comments

# Jason Mauss said on July 1, 2004 3:42 PM:
I believe there is an exception management application block put out by the patterns & practices group. Sorry I don't have a URL for you but it should be pretty easy to find.
# indranil banerjee said on July 1, 2004 3:45 PM:
Exceptional C++
and
More Exceptional C++
Both by Herb Sutter who probably works down the hallway from you ;-)

The ideas on exception safety are invaluable whatever language you program in

http://www.amazon.com/exec/obidos/tg/detail/-/0201615622/qid=1088721775/sr=1-1/ref=sr_1_1/103-9671151-6937431?v=glance&s=books
# Jim Argeropoulos said on July 2, 2004 6:33 AM:
I have to agree with Indranil. The other place to look may be in Andy Koenig's writing. I seem to remember some good materials by him.
# Chris Breisch said on July 2, 2004 9:35 AM:
# Weston M. Binford III said on July 2, 2004 7:44 AM:
A couple of years ago, I read Jeffrey Richter's Applied Microsoft.NET Framework. It has a whole chapter on exception handling including the code that you need to put in your exceptions to make them serializable. Also, he discusses inconsistencies in the Foundation Class Library's exceptions.

-Weston
# Mark Treadwell said on July 2, 2004 9:02 AM:
Concur with the above concerning the EMAB and EMAG. I have a list of more than a dozen references here: http://geekswithblogs.net/mtreadwell/archive/2004/03/23/3273.aspx. These are for MSDN, blogs and Code Project. For deep, you can't beat Chris Brumme's "The Exception Model" blog entry.
New Comments to this post are disabled

This Blog

Syndication

Page view tracker