开发者

What happens if you throw an Exception from inside UncaughtExceptionHandler?

开发者 https://www.devze.com 2023-02-03 18:04 出处:网络
Not that it is a good design or it is something I am planning to do. Just curious, what happens if you throw an 开发者_JAVA技巧Exception from inside an UncaughtExceptionHandler? Is it possible to catc

Not that it is a good design or it is something I am planning to do. Just curious, what happens if you throw an 开发者_JAVA技巧Exception from inside an UncaughtExceptionHandler? Is it possible to catch it somewhere?


Quote from the method's Javadoc:

Any exception thrown by this method will be ignored by the Java Virtual Machine.


Any exception thrown by this method will be ignored by the Java Virtual Machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消