[
Lists Home |
Date Index |
Thread Index
]
At 9:49 PM +0100 3/9/04, Jochen Wiedmann wrote:
>You actually expect me to add an exception handler to any method
>of a ContentHandler, in order to do a proper cleanup? That's not
>how I would like to see my code.
No, I expect if you're going to throw an exception you'll clean up
before you throw it. And if you get an unexpected runtime exception,
then it's a bug, you'll find it in testing, and fix it.
--
Elliotte Rusty Harold
elharo@metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
|