diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:46:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:08 +0100 |
commit | 8ccd11e1ae7248071184bfbeb2bced9ce096d52b (patch) | |
tree | 1cefa9c2a7d6f80190d0c5bf454a74b0b1572fac /xmlsecurity/source/framework | |
parent | 843e2a9dd6127bf7b5b9adde2ef01451449f0ba3 (diff) |
New loplugin:dynexcspec: Add @throws documentation, xmlsecurity
Change-Id: I2447c028add359952e4bd36dbdc1d5431fe48104
Diffstat (limited to 'xmlsecurity/source/framework')
5 files changed, 12 insertions, 0 deletions
diff --git a/xmlsecurity/source/framework/decryptorimpl.hxx b/xmlsecurity/source/framework/decryptorimpl.hxx index 1305226e8bb3..0c485250210f 100644 --- a/xmlsecurity/source/framework/decryptorimpl.hxx +++ b/xmlsecurity/source/framework/decryptorimpl.hxx @@ -85,12 +85,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString DecryptorImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL DecryptorImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL DecryptorImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr) throw ( css::uno::Exception ); diff --git a/xmlsecurity/source/framework/encryptionengine.hxx b/xmlsecurity/source/framework/encryptionengine.hxx index 7c8f164bc9b8..c71ec058c739 100644 --- a/xmlsecurity/source/framework/encryptionengine.hxx +++ b/xmlsecurity/source/framework/encryptionengine.hxx @@ -79,6 +79,8 @@ protected: * For a Encryptor, it performs encryption operation; * for a Decryptor, decryption operation is performed. */ + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException virtual void startEngine( const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >&) throw (css::uno::Exception, css::uno::RuntimeException) {}; diff --git a/xmlsecurity/source/framework/encryptorimpl.hxx b/xmlsecurity/source/framework/encryptorimpl.hxx index a3c3f7c49735..561c041aa493 100644 --- a/xmlsecurity/source/framework/encryptorimpl.hxx +++ b/xmlsecurity/source/framework/encryptorimpl.hxx @@ -105,12 +105,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString EncryptorImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL EncryptorImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL EncryptorImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr) diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx index 5179df1079e7..e5bec6a3e098 100644 --- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx +++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx @@ -82,9 +82,11 @@ class XMLEncryptionTemplateImpl : public ::cppu::WeakImplHelper< //Helper for XServiceInfo static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ; + /// @throws css::uno::RuntimeException static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ; //Helper for registry + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx index 853b68ab4eb1..ad04b808a967 100644 --- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx +++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx @@ -90,9 +90,11 @@ class XMLSignatureTemplateImpl : public ::cppu::WeakImplHelper< //Helper for XServiceInfo static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ; + /// @throws css::uno::RuntimeException static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ; //Helper for registry + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; |