Share via


Looking for guidance on exceptions

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

  • Anonymous
    July 01, 2004
    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.
  • Anonymous
    July 01, 2004
    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
  • Anonymous
    July 01, 2004
    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.
  • Anonymous
    July 01, 2004
    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
  • Anonymous
    July 02, 2004
    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.