gaussianrecurrence opened a new pull request #720:
URL: https://github.com/apache/geode-native/pull/720


    - Exceptions were not correctly handled during transaction operations,
      leading to the derived type of the exception to be lost on the
      internal source calls.
    - Problem was that in the process of capturing an re-throwing the
      exceptions, a copy of its more generic type, `Exception` was created
      and passed throught, instead of the original exception. This has been
      sorted out.
    - Also, several integration test were added, in order to ensure that
      the correct type of exceptions are thrown when an error occurs while
      executing transsactions operations.
   
   ---
   
   It seems C++ have some particular syntax when it comes to rethrowing 
exceptions, as can be seen here: https://stackoverflow.com/a/2360673/14434972
   Hence, the problem was that a copy of type **Exception** was being thrown, 
instead of the original exception.


----------------------------------------------------------------
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.

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


Reply via email to