Commit 4b33a21b authored by Kjell Ahlstedt's avatar Kjell Ahlstedt

SaxParser docs: Describe exception handling

* libxml++/parsers/saxparser.h: Note in the class description that some
exceptions are replaced by xmlpp::exception if std::exception_ptr is not
supported. Bug #757042.
parent 4ec92367
......@@ -25,6 +25,11 @@ namespace xmlpp {
/** SAX XML parser.
* Derive your own class and override the on_*() methods.
* In a system that does not support std::exception_ptr: If an overridden on_*()
* method throws an exception which is not derived from xmlpp::exception,
* that exception is replaced by a xmlpp::exception before it is propagated
* out of the parse method, such as parse_file().
class SaxParser : public Parser
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment