diff options
Diffstat (limited to 'extensions/source/config/ldap/ldapaccess.hxx')
-rw-r--r-- | extensions/source/config/ldap/ldapaccess.hxx | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/extensions/source/config/ldap/ldapaccess.hxx b/extensions/source/config/ldap/ldapaccess.hxx index 7aa848910c90..4b101b371934 100644 --- a/extensions/source/config/ldap/ldapaccess.hxx +++ b/extensions/source/config/ldap/ldapaccess.hxx @@ -86,9 +86,7 @@ public: @throws ldap::LdapConnectionException @throws ldap::LdapGenericException */ - void connectSimple(const LdapDefinition& aDefinition) - throw (ldap::LdapConnectionException, - ldap::LdapGenericException); + void connectSimple(const LdapDefinition& aDefinition); /** Gets LdapUserProfile from LDAP repository for specified user @@ -99,10 +97,7 @@ public: @throws css::ldap::LdapGenericException if an LDAP error occurs. */ - void getUserProfile(const OUString& aUser, LdapData * data) - throw (lang::IllegalArgumentException, - ldap::LdapConnectionException, - ldap::LdapGenericException); + void getUserProfile(const OUString& aUser, LdapData * data); /** finds DN of user @return DN of User @@ -110,15 +105,11 @@ public: @throws ldap::LdapConnectionException @throws ldap::LdapGenericException */ - OUString findUserDn(const OUString& aUser) - throw (lang::IllegalArgumentException, - ldap::LdapConnectionException, - ldap::LdapGenericException); + OUString findUserDn(const OUString& aUser); private: /// @throws ldap::LdapConnectionException - void initConnection() - throw (ldap::LdapConnectionException); + void initConnection(); void disconnect(); /** Indicates whether the connection is in a valid state. @@ -128,9 +119,7 @@ private: /// @throws ldap::LdapConnectionException /// @throws ldap::LdapGenericException - void connectSimple() - throw (ldap::LdapConnectionException, - ldap::LdapGenericException); + void connectSimple(); /** LDAP connection object */ LDAP* mConnection ; |