Kaydet (Commit) 95965034 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1338258 Uncaught exception

Change-Id: I61032db81c012f2120bdd971111155d660eef5b4
üst f36c2939
...@@ -231,7 +231,7 @@ public: ...@@ -231,7 +231,7 @@ public:
const std::string &in_module, const std::string &in_module,
const std::string &in_lang, const std::string &in_lang,
bool in_bExtensionMode); bool in_bExtensionMode);
bool compile() throw (HelpProcessingException, BasicCodeTagger::TaggerException); bool compile() throw (HelpProcessingException, BasicCodeTagger::TaggerException, std::exception);
private: private:
xmlDocPtr getSourceDocument(const fs::path &filePath); xmlDocPtr getSourceDocument(const fs::path &filePath);
static void tagBasicCodeExamples(xmlDocPtr doc); static void tagBasicCodeExamples(xmlDocPtr doc);
......
...@@ -437,7 +437,7 @@ void myparser::traverse( xmlNodePtr parentNode ) ...@@ -437,7 +437,7 @@ void myparser::traverse( xmlNodePtr parentNode )
} }
bool HelpCompiler::compile() bool HelpCompiler::compile()
throw (HelpProcessingException, BasicCodeTagger::TaggerException) throw (HelpProcessingException, BasicCodeTagger::TaggerException, std::exception)
{ {
// we now have the jaroutputstream, which will contain the document. // we now have the jaroutputstream, which will contain the document.
// now determine the document as a dom tree in variable docResolved // now determine the document as a dom tree in variable docResolved
......
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