mirror of
https://github.com/corda/corda.git
synced 2025-02-01 16:58:27 +00:00
8b83de8985
This function allows you to call native code such that any SIGSEGV/SIGBUS/SIGFPE/EXC_ACCESS_VIOLATION/etc. raised by that code is transformed into a Java exception and thrown by tryNative. Note that this effectively results in a longjmp out of whatever function raised the exception, so any C++ destructors or other cleanup code will not be run.