jdk/src/share/classes/java/lang/Thread.java
/**
* Dispatch an uncaught exception to the handler. This method is
* intended to be called only by the JVM.
*/
private void dispatchUncaughtException(Throwable e) {
{- -------------------------------------------
(1) java.lang.Thread.getUncaughtExceptionHandler() で UncaughtExceptionHandler を取得し,
その uncaughtException() メソッドを呼び出すだけ.
---------------------------------------- -}
getUncaughtExceptionHandler().uncaughtException(this, e);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.