rpuch commented on code in PR #4070:
URL: https://github.com/apache/ignite-3/pull/4070#discussion_r1678921638


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/MismatchingTransactionOutcomeException.java:
##########
@@ -19,15 +19,13 @@
 
 import static 
org.apache.ignite.lang.ErrorGroups.Transactions.TX_UNEXPECTED_STATE_ERR;
 
-import org.apache.ignite.tx.TransactionException;
-
 /**
  * The exception is thrown when the transaction result differs from the 
intended one.
  *
  * <p>For example, {@code tx.commit()} is called for a transaction, but the 
verification logic decided to abort it instead. The transaction
  * will be finished with {@link TxState#ABORTED} and the call to {@code 
tx.commit()} will throw this exception.
  */
-public class MismatchingTransactionOutcomeException extends 
TransactionException {
+public class MismatchingTransactionOutcomeException extends 
TransactionInternalException {

Review Comment:
   Please take a look at 
https://github.com/apache/ignite-3/pull/4070#discussion_r1678848166



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to