From: Grégory Oestreicher Date: Wed, 14 Sep 2016 20:47:24 +0000 (+0200) Subject: New LDAP exception class X-Git-Tag: rec-4.1.0-alpha1~170^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0ce77f0ed9033d2ec45cd83c49ee9a732bab5b3;p=thirdparty%2Fpdns.git New LDAP exception class --- diff --git a/modules/ldapbackend/exceptions.hh b/modules/ldapbackend/exceptions.hh index dfbf675b65..3409dacaaa 100644 --- a/modules/ldapbackend/exceptions.hh +++ b/modules/ldapbackend/exceptions.hh @@ -36,4 +36,10 @@ public: explicit LDAPTimeout() : LDAPException( "Timeout" ) {} }; +class LDAPNoConnection : public LDAPException +{ +public: + explicit LDAPNoConnection() : LDAPException( "No connection to LDAP server" ) {} +}; + #endif // LDAPEXCEPTIONS_HH