Chapter 13: JNI Compiler
Java exceptions
Java exceptions are mapped to C++ proxy classes, so you can use normal C++ exception handling.