unexpected exception 未预期的异常
Exception handling is the basic requirement of every application to handle any unexpected behavior of the application.
异常处理是每个应用程序的基本要求,以便处理应用程序的任意意外行为。
Thread1 is a periodic thread (extends WatchedPeriodicThread) that runs for 10 iterations and then dies because of an "unexpected" exception.
Thread1 是一个周期性线程(扩展 WatchedPeriodicThread),运行 10 个迭代后由于 “意外” 异常而终止。
Unlike an Exception, a Signal is typically expected to be thrown during normal Process execution and does not necessarily indicate that a problem or something unexpected has been encountered.
不同于 Exception,Signal 通常是在正常 流程执行过程中引发的,不一定表示遇到了问题或某些意外情况。
应用推荐