| CPC G06F 11/366 (2013.01) [G06F 9/45558 (2013.01); G06F 2009/45591 (2013.01)] | 15 Claims |

|
1. An exception handling method, comprising:
acquiring, when it is determined that an exception event occurs for Java code invoked based on a Java Native Interface (JNI), a Java exception object corresponding to the exception event, the Java exception object characterizing the exception event;
deleting an exception identifier corresponding to the exception event, the exception identifier characterizing that a Java virtual machine is in an exceptional working state; and
invoking a pre-configured Java exception handler based on the JNI, and performing exception handling on the Java exception object using the pre-configured Java exception handler, the pre-configured Java exception handler being configured to report the exception event corresponding to the Java exception object as a Java crash event.
|