Re: [xml-dev] SAX/Java Proposed Changes

From
Elliotte Rusty Harold <>
To
Jochen Wiedmann <>
Date
2004-03-10T03:33:24Z
ID
<p0601020dbc743ccc2999@[192.168.254.4]>
Thread
Re: [xml-dev] SAX/Java Proposed Changes
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
   
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA