Added exceptions to native code