com.clickhouse.client.UnsupportedProtocolException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickhouse-client Show documentation
Show all versions of clickhouse-client Show documentation
Unified Java client for ClickHouse
The 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;
}
}