Other |
---|
fx2.0Resolved |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
We are using the standard Java exception handling mechanism which allows you to install a default exception catcher for uncaught exceptions occurring on a thread using this method Thread.setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler) Even though our default exception handler is installed properly on the thread which Java FX uses to invoke our application's start() method, exceptions which occur in our code never end up at the UncaughtExceptionHandler. From the stack trace I can see that our application start() method is invoked by the innerclass LauncherImpl$3 in its run method at line 92. The exception passes through our application start() method but it is caught by Java FX inside LauncherImpl and consequently the Java default exception handling mechanism is incapacitated.
|