]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
New LDAP exception class
authorGrégory Oestreicher <greg@kamago.net>
Wed, 14 Sep 2016 20:47:24 +0000 (22:47 +0200)
committerGrégory Oestreicher <greg@kamago.net>
Tue, 28 Feb 2017 21:34:29 +0000 (22:34 +0100)
modules/ldapbackend/exceptions.hh

index dfbf675b6583b38a2db3c65180c21d0950e162eb..3409dacaaa1e36d9947bf9719d46d0170cb2eb56 100644 (file)
@@ -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