HRCPP-87 JniTest exceptions in c++ code crash the jvm