From 8ee3f986981ecb74bafb9d4702085bb993418efd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jan 2017 17:57:50 +0100 Subject: New loplugin:dynexcspec: Add @throws documentation, extensions Change-Id: Ia44f7b0a162d269bf38133575f986efd62eb6d52 --- extensions/source/config/ldap/ldapaccess.hxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'extensions/source/config') diff --git a/extensions/source/config/ldap/ldapaccess.hxx b/extensions/source/config/ldap/ldapaccess.hxx index ca206acce9ba..7aa848910c90 100644 --- a/extensions/source/config/ldap/ldapaccess.hxx +++ b/extensions/source/config/ldap/ldapaccess.hxx @@ -82,7 +82,10 @@ public: LdapConnection() : mConnection(nullptr),mLdapDefinition() {} /** Destructor, releases the connection */ ~LdapConnection() ; - /** Make connection to LDAP server */ + /** Make connection to LDAP server + @throws ldap::LdapConnectionException + @throws ldap::LdapGenericException + */ void connectSimple(const LdapDefinition& aDefinition) throw (ldap::LdapConnectionException, ldap::LdapGenericException); @@ -103,6 +106,9 @@ public: /** finds DN of user @return DN of User + @throws lang::IllegalArgumentException + @throws ldap::LdapConnectionException + @throws ldap::LdapGenericException */ OUString findUserDn(const OUString& aUser) throw (lang::IllegalArgumentException, @@ -110,7 +116,7 @@ public: ldap::LdapGenericException); private: - + /// @throws ldap::LdapConnectionException void initConnection() throw (ldap::LdapConnectionException); void disconnect(); @@ -120,6 +126,8 @@ private: */ bool isValid() const { return mConnection != nullptr ; } + /// @throws ldap::LdapConnectionException + /// @throws ldap::LdapGenericException void connectSimple() throw (ldap::LdapConnectionException, ldap::LdapGenericException); -- cgit