From 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:12:42 +0000 Subject: Refactor CoreException and ModuleException. --- include/modules/ldap.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include/modules/ldap.h') diff --git a/include/modules/ldap.h b/include/modules/ldap.h index 760cc4ec2..5d11d89fb 100644 --- a/include/modules/ldap.h +++ b/include/modules/ldap.h @@ -20,13 +20,15 @@ typedef int LDAPQuery; +// XXX: This should be using ModuleException. class LDAPException final - : public ModuleException + : public CoreException { public: - LDAPException(const std::string& reason) : ModuleException(reason) { } - - virtual ~LDAPException() noexcept = default; + LDAPException(const std::string& msg) + : CoreException(msg) + { + } }; struct LDAPModification final -- cgit v1.3.1-10-gc9f91