一.ThreadAPI:setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandlereh)首先要了解什么是Thread.UncaughtExceptionHandler,默认来说当线程出现未捕获的异常时,会中断并抛出异常,抛出后的动作只有简单的堆栈输出。如:publicclassThreadTest{publics...