HRCPP-106 C++ exceptions are not propagated through JNI layer