﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4524	Exception handling in PleaseWaitRunnable	bastiK	team	"In the PleaseWaitRunnable code the parameter {{{ignoreException}}} has the description {{{If true, exception will be propagated to calling code.}}}

However this is not true, the Exceptions are ''really'' ignored, i.e. simply dropped. The following code demonstrates the problem: It does not lead to any visible Exception.

{{{
    Main.worker.submit(new Runnable() {
        public final void run() {
            throw new RuntimeException();
       }
    });
}}}

In this thread they have a view ways to catch exceptions in such a case:[[br]]
http://stackoverflow.com/questions/1687977/how-to-properly-catch-runtimeexceptions-from-executors

Currently we catch all exceptions inside the Runnable. There are two kinds of Exceptions: (1) Errors that are expected (Parse error, io error) and (2) Coding errors. (1) should lead to a simple message box and (2) should open the bug report window.

Currently this is not the case: All errors except RuntimeException get a simple message box."	defect	closed	normal		Core		fixed		
