docs: public static LdapException create(LDAPException e) {
          return new LdapException(DefaultLdapResultCodeFactory.convertResultCode(e.getResultCode()),
                  e.getDiagnosticMessage(), e);
      }