diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:58:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:22 +0100 |
commit | 49f6e7fecd7d6dbac399881e6397ca550ba675c4 (patch) | |
tree | 3c6a2de5ed2f32f7bb9047e0185e5e04eefc225a /desktop | |
parent | 24672786abf703659f60babe1a6e0f19775593ce (diff) |
New loplugin:dynexcspec: Add @throws documentation, desktop
Change-Id: I1e97b929174ba23fdf21c405ec4129f0e56ed2f3
Diffstat (limited to 'desktop')
5 files changed, 14 insertions, 0 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx index 79543cf4fcbd..623e5edbb728 100644 --- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx +++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx @@ -128,6 +128,7 @@ class ProgressCmdEnv void updateProgress(); + /// @throws uno::RuntimeException void update_( uno::Any const & Status ) throw ( uno::RuntimeException ); public: diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx index c565a2f8a288..40d217700638 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.hxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx @@ -264,10 +264,17 @@ private: css::uno::Sequence<css::uno::Reference<css::deployment::XPackage> > const & seqExt, OUString const & repository); + /// @throws css::lang::IllegalArgumentException + /// @throws css::uno::RuntimeException css::uno::Reference<css::deployment::XPackageManager> getPackageManager(OUString const & repository) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); + /// @throws css::deployment::DeploymentException + /// @throws css::ucb::CommandFailedException + /// @throws css::ucb::CommandAbortedException + /// @throws css::lang::IllegalArgumentException + /// @throws css::uno::RuntimeException bool doChecksForAddExtension( css::uno::Reference<css::deployment::XPackageManager> const & xPackageMgr, css::uno::Sequence<css::beans::NamedValue> const & properties, diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 12ad4ad0fbe8..174b4978ee18 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -129,6 +129,10 @@ class BackendImpl : public ImplBaseT // throws css::uno::RuntimeException, // css::deployment::DeploymentException + /// @throws deployment::DeploymentException + /// @throws ucb::CommandFailedException + /// @throws ucb::CommandAbortedException + /// @throws RuntimeException bool checkLicense( Reference< ucb::XCommandEnvironment > const & xCmdEnv, DescriptionInfoset const & description, bool bNoLicenseChecking) diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index db83877a5ed7..2de8302b6020 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -63,6 +63,7 @@ class CommandEnvironmentImpl Reference< XComponentContext > m_xComponentContext; Reference< XProgressHandler > m_xLogFile; + /// @throws RuntimeException void update_( Any const & Status ) throw (RuntimeException); void printLicense(const OUString & sName,const OUString& sLicense, bool & accept, bool & decline); diff --git a/desktop/source/splash/unxsplash.hxx b/desktop/source/splash/unxsplash.hxx index e854387fa3ff..69b51c383385 100644 --- a/desktop/source/splash/unxsplash.hxx +++ b/desktop/source/splash/unxsplash.hxx @@ -67,6 +67,7 @@ public: } +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL UnxSplash_createInstance(const css::uno::Reference< css::uno::XComponentContext > & xCtx ) throw( css::uno::Exception ); OUString UnxSplash_getImplementationName(); css::uno::Sequence< OUString > SAL_CALL UnxSplash_getSupportedServiceNames() throw (); |