mirror of
https://github.com/corda/corda.git
synced 2025-02-09 12:21:22 +00:00
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.