Package com.clickhouse.client
Class ClickHouseTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.clickhouse.client.ClickHouseException
com.clickhouse.client.ClickHouseTransactionException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.clickhouse.client.ClickHouseException
ERROR_ABORTED, ERROR_CANCELLED, ERROR_NETWORK, ERROR_POCO, ERROR_SESSION_IS_LOCKED, ERROR_SESSION_NOT_FOUND, ERROR_SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY, ERROR_TIMEOUT, ERROR_UNKNOWN, ERROR_UNKNOWN_SETTING -
Constructor Summary
ConstructorsConstructorDescriptionClickHouseTransactionException(int code, String message, ClickHouseTransaction tx) ClickHouseTransactionException(int code, String message, Throwable cause, ClickHouseTransaction tx) ClickHouseTransactionException(String message, ClickHouseTransaction tx) ClickHouseTransactionException(String message, Throwable cause, ClickHouseTransaction tx) -
Method Summary
Methods inherited from class com.clickhouse.client.ClickHouseException
buildErrorMessage, forCancellation, getErrorCode, getServer, isConnectTimedOut, of, ofMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_INVALID_TRANSACTION
public static final int ERROR_INVALID_TRANSACTION- See Also:
-
ERROR_UNKNOWN_STATUS_OF_TRANSACTION
public static final int ERROR_UNKNOWN_STATUS_OF_TRANSACTION- See Also:
-
-
Constructor Details
-
ClickHouseTransactionException
-
ClickHouseTransactionException
-
ClickHouseTransactionException
public ClickHouseTransactionException(int code, String message, Throwable cause, ClickHouseTransaction tx) -
ClickHouseTransactionException
-
-
Method Details
-
getTransaction
-