You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Gröndal Daniel <da...@rfv.sfa.se> on 2003/09/09 10:28:00 UTC

exceptions in xerces

Hi!

Is it only me that thinks that the c++ api docs on the website (apache.org) is
unsufficient sometimes? I was looking for information about what different
exceptions that can be thrown from which functions today and ended up with no
information. Can that information be found somewhere or do I have to do it the
hard way and browse some code? It would save some time anyway...

//daniel

------------------------------------------------------------------
RFV Data                          E-post: daniel.grondal@rfv.sfa.se
Utvecklingsenheten/Grupp 2        Tfn: 060-187126
S.a Järnvägsgatan 41              Mobil: 070-3016517
851 93 Sundsvall                  Fax: 060-147870
------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: exceptions in xerces

Posted by Marcin Rzeznicki <ma...@wp.pl>.
----- Wiadomosc oryginalna ----- 
Od: "Gröndal Daniel" <da...@rfv.sfa.se>
Do: <xe...@xml.apache.org>
Wyslano: 09 wrzesnia 2003 10:28
Temat: exceptions in xerces


Hi!

Is it only me that thinks that the c++ api docs on the website (apache.org)
is
unsufficient sometimes? I was looking for information about what different
exceptions that can be thrown from which functions today and ended up with
no
information. Can that information be found somewhere or do I have to do it
the
hard way and browse some code? It would save some time anyway...

//daniel
---------------------------

I agree. In C++ we have the possibilty to specify excpetions that can be
thrown from a function in its signature, as authors surely know. ISO
Committee recommends this coding style, as code becomes not also more
readable and self-documenting but safer-to-use as well. Functions' headers
written as they are inform us, due to Standard, that any excpetion can be
thrown - of course I am sure that types of excpetion thrown from xerces
funcs have been constrained to well-designed hierarchy, therefore they may
be specified in functions' headers

Greetings
Marcin Rzeznicki



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org