Update Exception Handling in NDK