aboutsummaryrefslogtreecommitdiff
path: root/include/modules/ldap.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-07 17:12:42 +0000
committerGravatar Sadie Powell2022-01-07 17:16:50 +0000
commit52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch)
tree9fff020964190f33174e78ff6201381be577d0b3 /include/modules/ldap.h
parentMerge branch 'insp3' into master. (diff)
Refactor CoreException and ModuleException.
Diffstat (limited to 'include/modules/ldap.h')
-rw-r--r--include/modules/ldap.h10
1 files changed, 6 insertions, 4 deletions
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