in src/main/java/org/apache/sling/commons/threaddump/internal/Activator.java [112:123]
public void uncaughtException(Thread t, Throwable e) {
if (e instanceof ThreadDeath) {
log.error("Thread " + t + " has just been killed", e);
} else {
log.error("Uncaught exception in Thread " + t, e);
}
// chain to original handler
if (oldHandler != null) {
oldHandler.uncaughtException(t, e);
}
}