Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

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  elharo@...
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

 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml