Re: [xml-dev] Seeking SAXException pattern

From
Elliotte Harold <>
To
Paul R Brown <>, XML Developers List <>
Date
2004-11-29T09:51:58Z
ID
<>
Thread
Re: [xml-dev] Seeking SAXException pattern
Paul R Brown wrote:


> Interesting.  Isn't RuntimeException intended to report an error in the 
> application as opposed to an error in the input?  This has always been 
> my opinion and practice.


Yes, that's normally how it works, and how it should work. But if you 
really don't like wrapping your checked exceptions, it is another 
option. Languages like C++ that only have runtime exceptions don't have 
to deal with this problem in callback APIs.

-- 
Elliotte Rusty Harold  
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim