code: public static LdapException create(LdapResultCode resultCode, String message) {
          return new LdapException(resultCode, message, null);
      }
docs: Create an {@link LdapException} from an {@link LdapResultCode} and message
  
  @param resultCode the result code
  @param message the exception message
  @return a new LDAPException