What happens if you throw an Exception from inside UncaughtExceptionHandler?
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.
精彩评论