com.github.housepower.jdbc.misc.Validate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickhouse-native-jdbc Show documentation
Show all versions of clickhouse-native-jdbc Show documentation
ClickHouse Native Protocol JDBC implementation
package com.github.housepower.jdbc.misc;
import java.sql.SQLException;
public class Validate {
public static void isTrue(boolean expression) throws SQLException {
isTrue(expression, null);
}
public static void isTrue(boolean expression, String message) throws SQLException {
if (!expression) {
throw new SQLException(message);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy