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

com.clickhouse.client.UnsupportedProtocolException Maven / Gradle / Ivy

There is a newer version: 0.6.5
Show newest version
package com.clickhouse.client;

public class UnsupportedProtocolException extends IllegalStateException {
    private final ClickHouseProtocol protocol;

    public UnsupportedProtocolException(ClickHouseProtocol protocol, String errorMessage) {
        super(errorMessage);

        this.protocol = protocol == null ? ClickHouseProtocol.ANY : protocol;
    }

    public ClickHouseProtocol getProtocol() {
        return protocol;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy