Create Exception Handling in NDK