From 49f6e7fecd7d6dbac399881e6397ca550ba675c4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jan 2017 17:58:48 +0100 Subject: New loplugin:dynexcspec: Add @throws documentation, desktop Change-Id: I1e97b929174ba23fdf21c405ec4129f0e56ed2f3 --- desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 1 + desktop/source/deployment/manager/dp_extensionmanager.hxx | 7 +++++++ desktop/source/deployment/registry/package/dp_package.cxx | 4 ++++ desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 1 + desktop/source/splash/unxsplash.hxx | 1 + 5 files changed, 14 insertions(+) (limited to 'desktop') 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 > const & seqExt, OUString const & repository); + /// @throws css::lang::IllegalArgumentException + /// @throws css::uno::RuntimeException css::uno::Reference 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 const & xPackageMgr, css::uno::Sequence 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 (); -- cgit