A simple set of code to enable JNI Native crashes to be caught by Java and then thrown as an Exception