Java uncaught global exception handler

后端 未结 3 1233
北恋
北恋 2020-12-01 04:05

I have an application and need to code a custom global uncaught exception handler. I\'ve read all the stackoverflow threads and each one of them is just missing a clear and

3条回答
  •  醉梦人生
    2020-12-01 04:18

    You can try setting your own uncaught Exception handler, however I strongly advise against it. If your application has parts that can potentially break and if that exception is then not properly handled at the location where your code breaks, your entire program will malfunction frequently.

提交回复
热议问题