Package com.clickhouse.jdbc
Class SqlExceptionUtils
java.lang.Object
com.clickhouse.jdbc.SqlExceptionUtils
Helper class for building
SQLException.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchUpdateExceptionbatchUpdateError(Throwable e, long[] updateCounts) static SQLExceptionclientError(String message) static SQLExceptionclientError(String message, Throwable e) static SQLExceptionstatic SQLExceptionstatic SQLExceptionhandle(com.clickhouse.client.ClickHouseException e) static SQLExceptionstatic BatchUpdateExceptionqueryInBatchError(int[] updateCounts) static BatchUpdateExceptionqueryInBatchError(long[] updateCounts) static SQLExceptionstatic SQLExceptionunsupportedError(String message)
-
Field Details
-
SQL_STATE_CLIENT_ERROR
- See Also:
-
SQL_STATE_OPERATION_CANCELLED
- See Also:
-
SQL_STATE_CONNECTION_EXCEPTION
- See Also:
-
SQL_STATE_SQL_ERROR
- See Also:
-
SQL_STATE_NO_DATA
- See Also:
-
SQL_STATE_INVALID_SCHEMA
- See Also:
-
SQL_STATE_INVALID_TX_STATE
- See Also:
-
SQL_STATE_DATA_EXCEPTION
- See Also:
-
SQL_STATE_FEATURE_NOT_SUPPORTED
- See Also:
-
-
Method Details
-
clientError
-
clientError
-
clientError
-
handle
-
handle
-
batchUpdateError
-
queryInBatchError
-
queryInBatchError
-
undeterminedExecutionError
-
forCancellation
-
unsupportedError
-
unknownError
-