try {
return super.calculateScore();
} catch (RuntimeException e) {
TestGenDroolsExceptionReproducer reproducer = new TestGenDroolsExceptionReproducer(e, this);
TestGenKieSessionJournal minJournal = TestGenerator.minimize(journal, reproducer);
<BUG>TestGenTestWriter.print(minJournal, testFile);
</BUG>
throw wrapOriginalException(e);
}
}

try {
return super.calculateScore();
} catch (RuntimeException e) {
TestGenDroolsExceptionReproducer reproducer = new TestGenDroolsExceptionReproducer(e, this);
TestGenKieSessionJournal minJournal = TestGenerator.minimize(journal, reproducer);
writer.print(minJournal, testFile);
throw wrapOriginalException(e);
}
}
