May 28, 2003
Writing good exceptions

Cameron Laird on how to use exceptions - Writing good exceptions. Not how to use them in terms of syntax, but rather in terms of semantics. The examples are in Python, but the advice is applicable to any language supporting exceptions.

We have a lot of classes in one of my current Java projects (written by a cow orker) in which every method has a catch-all exception handler which logs any unexpected error, and then tries to keep on going. Me, I prefer the RuntimeException approach.

Posted to Software development by Simon Brunning at May 28, 2003 01:45 PM
Comments

shaunie nd chloe mad s*o*t

Posted by: shaunie on July 14, 2005 11:22 AM

Well, quite.

Posted by: Simon Brunning on July 14, 2005 11:24 AM

free gay jerk offf hoodcanalbridge girl scout uniforms tulare pics of almost nude ladies

Posted by: Alina_m on October 29, 2008 08:49 AM

Posted by: Alina_m on November 4, 2008 10:10 PM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?