Re: XmlSerializer and consistent use of exceptions

Aleksander Slominski <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
hi,

a bit late but i was reviewing pending changes - it is one of them.

alek

Stefan Haustein wrote:

> > 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
>
>
> To unsubscribe from this group, send an email to:
> [email protected]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.