You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Christoph Kliemt <ck...@gmx.net> on 2001/04/22 19:56:09 UTC
xalan c++ exceptions
Hi!
Is there a reason why there ist no "exception-baseclass" in xalan /
xerces?
Example : I played around with the sample "SimpleTransform". At the
end of the "try" we have a "catch (...)". :-( In this case we can
savely omit the try/catch block, since it does not deliver any useful
information.
I have to admit : I m quite new to xalan, so often i do not know
where an exception comes from. As far as i have read the
dokumentation i do not see any hint for "who throws what".
So my (naive?) idea is to have a xalan/xerces exception-baseclass; or
all the exception-classes inherrit std::exception.
opinions?
\\// christoph
RE: Exception chaos in Xalan-C [was: xalan c++ exceptions]
Posted by Peter Murphy <pe...@fast.fujitsu.com.au>.
> -----Original Message-----
> From: Christian Aberger [mailto:Christian@aberger.at]
> Sent: Monday, April 23, 2001 4:45 AM
> To: xalan-dev@xml.apache.org
> Subject: Re: Exception chaos in Xalan-C [was: xalan c++ exceptions]
>
>
> Hi,
>
> there was/(is)? a loooong discussion recently about exactly that topic,
> subject: "Exception chaos in Xalan-C".
Barring any veto (extremely unlikely), there is going to be a new
development group called "xml-commons". Among other things, it will handle
the common codebase for Apache XML software - in C/C++, Java and Perl
flavors.
My impression was that "xml-commons" was inspired partly by the "Exception
chaos in Xalan-C" thread. From this, I'm guessing a common C++ XML Exception
class would be one of the first things inside xml-commons. The committers on
the list may be able to tell more.
Regards,
Peter
Re: Exception chaos in Xalan-C [was: xalan c++ exceptions]
Posted by Christian Aberger <Ch...@aberger.at>.
Hi,
there was/(is)? a loooong discussion recently about exactly that topic,
subject: "Exception chaos in Xalan-C".
wfr ChrisA
> Hi!
>
> Is there a reason why there ist no "exception-baseclass" in xalan /
> xerces?
> Example : I played around with the sample "SimpleTransform". At the
> end of the "try" we have a "catch (...)". :-( In this case we can
> savely omit the try/catch block, since it does not deliver any useful
> information.
> I have to admit : I m quite new to xalan, so often i do not know
> where an exception comes from. As far as i have read the
> dokumentation i do not see any hint for "who throws what".
>
> So my (naive?) idea is to have a xalan/xerces exception-baseclass; or
> all the exception-classes inherrit std::exception.
>
> opinions?
>
> \\// christoph