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

Elliotte Rusty Harold <[email protected]> Tue, 9 Mar 2004 22:33:24 -0500
Newsgroups gmane.text.xml.sax.devel,gmane.text.xml.devel
Message-ID <p0601020dbc743ccc2999@[192.168.254.4]>
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
   [email protected]
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel