Re: XmlSerializer and consistent use of exceptions
Stefan Haustein <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Organization | Univ. Dortmund FB 4 LS 8 |
| Message-ID | <[email protected]> |
> in XmlPullParser we use XmlPullParserException to indicate API or > XML related exceptions that are different IOException that is used > to signal exception in underlying IO operations. however in XmlSerializer > we use only IOException and API or XML related exceptions may > be only reported by RunitmeException (with subclasses NPE and > IllegalArgumentException etc.) or IOException can be used to carry > all exceptions. i think that we should be consistent and also use > XmlPullParserException in XmlSerializer. > > any opinions about it? Would be fine with me... Best, Stefan -- Stefan Haustein Univ. Dortmund, FB 4, LS 8 tel: +49 231 755 2499 Baroper Str. 301 fax: +49 231 755 5105 D-44221 Dortmund (Germany) www-ai.cs.uni-dortmund.de