CodePudding user response:
Uncaught exception occurs when the termination of the thread, at this point, the system will notify UncaughtExceptionHandler, tell it to the thread is terminated, and the corresponding anomaly, and then will call uncaughtException function, specific refer to: https://zhuanlan.zhihu.com/p/106588880? Utm_source=qq& Utm_medium=social