Handling method and device for abnormal information
A technology of exception information and exception handling, applied in software testing/debugging and other directions, which can solve problems such as low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0016] The embodiment of the present invention provides a method for processing abnormal information. The method includes steps as follows:
[0017] Step S12, collect exception information that occurs during the running of the application program, wherein the application program runs on the Android system, and a processing class for unhandled exceptions is registered in the thread of the application program.
[0018] What needs to be explained here is that, in a preferred embodiment, this solution can be applied to the scenario of an application program running on the Android operating system. Specifically, during the running of the application program on the Android operating system, the Handle exception handlers and register unhandled exception handlers to application threads. Optionally, you can use the Android API to register the global unhandled exception handling class. Part of the implementation code is as follows:
[0019] Thread.setDefaultUncaughtExceptionHandler(Cr...
Embodiment 2
[0095] The collection module 22 is used to collect exception information that occurs during the running of the application program, wherein the application program runs on the Android system, and a processing class for unhandled exceptions is registered in the thread of the application program.
[0096] What needs to be explained here is that, in a preferred embodiment, this solution can be applied to applications running on the Android operating system. Specifically, during the running of the application program on the Android operating system, the unhandled exception can be called , and register the unhandled exception handler class in the application thread. Optionally, you can use the Android API to register the global unhandled exception handling class. Part of the implementation code is as follows:
[0097] Thread.setDefaultUncaughtExceptionHandler(CrashHandler);
[0098] Specifically, in this solution, the thread will actively call the uncaughtException function of Cra...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com