[jira] [Created] (IGNITE-10976) MVCC: Sql API methods should throws proper TransactionExceptions in case of tx failure.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10976) MVCC: Sql API methods should throws proper TransactionExceptions in case of tx failure.

Anton Vinogradov (Jira)
Andrew Mashenkov created IGNITE-10976:
-----------------------------------------

             Summary: MVCC: Sql API methods should throws proper TransactionExceptions in case of tx failure.
                 Key: IGNITE-10976
                 URL: https://issues.apache.org/jira/browse/IGNITE-10976
             Project: Ignite
          Issue Type: Bug
          Components: mvcc, sql
            Reporter: Andrew Mashenkov
             Fix For: 2.8


For now Sql API can throws SqlException (without any actual Tx failure cause) or TransactionException wrapped into CacheException.

Also, I've found we convert unchecked exceptions into checked ones and then back without any obvious reason.

Let's make TransactionException thows properly and add it to Sql Api contract.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)