Catching of StackOverflowError (and others) on JcaDetector level redone.