code: public static LdapException create(LDAPException e) {
          return new LdapException(DefaultLdapResultCodeFactory.convertResultCode(e.getResultCode()),
                  e.getDiagnosticMessage(), e);
      }
docs: Convert from {@link LDAPException} to apiman's {@link LdapException}
  
  @param e the LDAP Exception
  @return a new LdapException