Improve LDAP exceptions