improve exception thrown if a thread crashes.
especially usefull in tests relying on Error-throwing listenners.
Authored by: thibautd 2013-12-19
Parent: [r27261]
Child: [r27263]