summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc/xmlsec
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:46:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:08 +0100
commit8ccd11e1ae7248071184bfbeb2bced9ce096d52b (patch)
tree1cefa9c2a7d6f80190d0c5bf454a74b0b1572fac /xmlsecurity/inc/xmlsec
parent843e2a9dd6127bf7b5b9adde2ef01451449f0ba3 (diff)
New loplugin:dynexcspec: Add @throws documentation, xmlsecurity
Change-Id: I2447c028add359952e4bd36dbdc1d5431fe48104
Diffstat (limited to 'xmlsecurity/inc/xmlsec')
-rw-r--r--xmlsecurity/inc/xmlsec/saxhelper.hxx14
-rw-r--r--xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx6
2 files changed, 20 insertions, 0 deletions
diff --git a/xmlsecurity/inc/xmlsec/saxhelper.hxx b/xmlsecurity/inc/xmlsec/saxhelper.hxx
index 8068d8bf35d7..6814ede6d826 100644
--- a/xmlsecurity/inc/xmlsec/saxhelper.hxx
+++ b/xmlsecurity/inc/xmlsec/saxhelper.hxx
@@ -45,27 +45,41 @@ class SAXHelper final
void setCurrentNode(const xmlNodePtr pNode);
xmlDocPtr getDocument() { return m_pParserCtxt->myDoc;}
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void startDocument()
throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ;
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void endDocument()
throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ;
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void startElement(
const OUString& aName ,
const css::uno::Sequence<
css::xml::csax::XMLAttribute >& aAttributes )
throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ;
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void endElement( const OUString& aName )
throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ;
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void characters( const OUString& aChars )
throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ;
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void ignorableWhitespace( const OUString& aWhitespaces )
throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ;
+ /// @throws css::xml::sax::SAXException
+ /// @throws css::uno::RuntimeException
void processingInstruction(
const OUString& aTarget ,
const OUString& aData )
diff --git a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx
index bc8471ec6f3c..dfeb0042adf0 100644
--- a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx
+++ b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx
@@ -89,18 +89,21 @@ private:
private:
void getNextSAXEvent();
+ /// @throws css::xml::sax::SAXException
static void sendStartElement(
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler,
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler2,
const xmlNodePtr pNode)
throw (css::xml::sax::SAXException);
+ /// @throws css::xml::sax::SAXException
static void sendEndElement(
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler,
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler2,
const xmlNodePtr pNode)
throw (css::xml::sax::SAXException);
+ /// @throws css::xml::sax::SAXException
static void sendNode(
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler,
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler2,
@@ -241,13 +244,16 @@ public:
throw (css::uno::RuntimeException, std::exception) override;
};
+/// @throws css::uno::RuntimeException
OUString XMLDocumentWrapper_XmlSecImpl_getImplementationName()
throw ( css::uno::RuntimeException );
+/// @throws css::uno::RuntimeException
css::uno::Sequence< OUString > SAL_CALL
XMLDocumentWrapper_XmlSecImpl_getSupportedServiceNames( )
throw ( css::uno::RuntimeException );
+/// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface >
SAL_CALL XMLDocumentWrapper_XmlSecImpl_createInstance(
const css::uno::Reference< css::uno::XComponentContext > &)