summaryrefslogtreecommitdiff
path: root/connectivity/source/cpool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:59:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:24 +0100
commit5b2b75ac26961d3cef093ca546a5316be6f2d782 (patch)
tree281c24ea2f4b0a49630834a3ecc529cdc22e2402 /connectivity/source/cpool
parent0d5e1cd497b0de0e62c5911fcd6b473689a1dfe7 (diff)
New loplugin:dynexcspec: Add @throws documentation, connectivity
Change-Id: Id8711eaeac65efaa228b60d5786169016bfb61a3
Diffstat (limited to 'connectivity/source/cpool')
-rw-r--r--connectivity/source/cpool/ZConnectionPool.hxx2
-rw-r--r--connectivity/source/cpool/ZPoolCollection.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx
index c4aa5111f132..e598adbd3b0f 100644
--- a/connectivity/source/cpool/ZConnectionPool.hxx
+++ b/connectivity/source/cpool/ZConnectionPool.hxx
@@ -137,6 +137,8 @@ namespace connectivity
// delete all refs
void clear(bool _bDispose);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnectionWithInfo( const OUString& url, const css::uno::Sequence< css::beans::PropertyValue >& info ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
// XEventListener
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx
index 316fb7a227c0..1f64980ae987 100644
--- a/connectivity/source/cpool/ZPoolCollection.hxx
+++ b/connectivity/source/cpool/ZPoolCollection.hxx
@@ -125,7 +125,9 @@ namespace connectivity
// XServiceInfo - static methods
static css::uno::Reference< css::uno::XInterface > SAL_CALL CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >&);
+ /// @throws css::uno::RuntimeException
static OUString SAL_CALL getImplementationName_Static( ) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException);
// XEventListener