From: Joel VanderWerf Date: 2003-08-25T05:28:00+09:00 Subject: Re: fxRuby and errors Fredrik Jagenheim wrote: > If 'runTrueApplication' raises something I'd think would be considered > a 'fatal' error, namely that it tries to call a method that doesn't > exist (raises NoSuchMethod, IIRC) I don't get to know about that > error. Only after I kill the application by closing the window I get > the error message printed to stderr. Interrupting the process with > Ctrl-C just kills the program and nothing gets printed out. > > This leads me to think that I've missed something important about how > Threads and Exceptions play together. Could someone please straight > this out for me? I guess thread.join is the key? It collects all > thrown exceptions? Is there a way for me to know about thrown errors > /before/ thread.join? Apart from; See if this helps: Thread.abort_on_exception = true (assign this at the start of your code). Otherwise, threads other than the main thread die silently. Or you could catch exceptions in your thread itself.