OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Seeking SAXException pattern

[ Lists Home | Date Index | Thread Index ]

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@metalab.unc.edu
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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS