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

ru.yandex.clickhouse.except.ClickHouseException Maven / Gradle / Ivy

There is a newer version: 0.7.1-patch1
Show newest version
package ru.yandex.clickhouse.except;

import java.sql.SQLException;

public class ClickHouseException extends SQLException {

    public ClickHouseException(int code, Throwable cause, String host, int port) {
        super("ClickHouse exception, code: " + code + ", host: " + host + ", port: " + port + "; "
                + (cause == null ? "" : cause.getMessage()), null, code, cause);
    }

    public ClickHouseException(int code, String message, Throwable cause, String host, int port) {
        super("ClickHouse exception, message: " + message + ", host: " + host + ", port: " + port + "; "
                + (cause == null ? "" : cause.getMessage()), null, code, cause);
    }

    public ClickHouseException(int code, String message, Throwable cause) {
        super("ClickHouse exception, message: " + message + "; "
                + (cause == null ? "" : cause.getMessage()), null, code, cause);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy