SAX/C++: C++-specific design principles

Steinar Bang sb at metis.no
Tue Dec 7 07:30:01 GMT 1999


>>>>> Paul Miller <stele at fxtech.com>:

>> - use C++ exceptions

> I vote for C++ exceptions. That is why they are there.

Personally I think that C++ exceptions should only be used to signal
critical situations for the future execution of the program, not as a
normal matter of program flow control.

However, I think the ErrorHandler is a good idea, and have no problems 
with exceptions being thrown for the cases where one haven defined and 
registered an ErrorHandler.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list