All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.milvus.client.exception.UnsupportedServerVersion Maven / Gradle / Ivy

Go to download

Java SDK for Milvus, a distributed high-performance vector search engine. update grpc to 1.42.1 update protobuf to 3.19.1

There is a newer version: 2.2.2.1
Show newest version
package io.milvus.client.exception;

import io.milvus.client.MilvusClient;

public class UnsupportedServerVersion extends MilvusException {
  private String host;
  private String expect;
  private String actual;

  public UnsupportedServerVersion(String host, String expect, String actual) {
    super(false);
    this.host = host;
    this.expect = expect;
    this.actual = actual;
  }

  @Override
  public String getMessage() {
    return String.format("%s: Milvus client %s is expected to work with Milvus server %s, but the version of the connected server is %s",
        host, MilvusClient.clientVersion, expect, actual);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy