public static LdapException create(LDAPException e) {
        return new LdapException(DefaultLdapResultCodeFactory.convertResultCode(e.getResultCode()),
                e.getDiagnosticMessage(), e);
    }
Convert from {@link LDAPException} to apiman's {@link LdapException}

@param e the LDAP Exception
@return a new LdapException
gateway/engine/core/src/main/java/io/apiman/gateway/engine/components/ldap/result/DefaultExceptionFactory.java